Compare commits

...

1 Commits

Author SHA1 Message Date
9f1ba5034f nvim: Added harpoon 2023-01-09 04:04:09 +02:00
3 changed files with 13 additions and 2 deletions

View File

@@ -392,6 +392,9 @@ ks('n', '<leader>sw', tl.grep_string, { desc = '[S]earch current [W]ord' })
ks('n', '<leader>sg', tl.live_grep, { desc = '[S]earch by [G]rep' }) ks('n', '<leader>sg', tl.live_grep, { desc = '[S]earch by [G]rep' })
ks('n', '<leader>sd', tl.diagnostics, { desc = '[S]earch [D]iagnostics' }) ks('n', '<leader>sd', tl.diagnostics, { desc = '[S]earch [D]iagnostics' })
-- Add harpoon to telescope
require("telescope").load_extension('harpoon')
-- [[ Configure Treesitter ]] -- [[ Configure Treesitter ]]
-- See `:help nvim-treesitter` -- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup { require('nvim-treesitter.configs').setup {

View File

@@ -59,6 +59,13 @@ return function(use)
} }
} }
-- harpoon, by ThePrimeagen
-- https://github.com/ThePrimeagen/harpoon
use {
"ThePrimeagen/harpoon",
requires = { { "nvim-lua/plenary.nvim" } }
}
-- An asynchronous linter plugin for Neovim complementary to -- An asynchronous linter plugin for Neovim complementary to
-- the built-in Language Server Protocol support. -- the built-in Language Server Protocol support.
-- https://github.com/mfussenegger/nvim-lint -- https://github.com/mfussenegger/nvim-lint

View File

@@ -86,3 +86,4 @@ function menu_item() {
LINE=$(printf '%-15s %-30s\n' "$1" "$2") LINE=$(printf '%-15s %-30s\n' "$1" "$2")
echo -e "$(__log_indent)$(__log_marker) $LINE" echo -e "$(__log_indent)$(__log_marker) $LINE"
} }