summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-02 20:06:50 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-02 20:06:50 +0300
commit869c4b12288063c4ffd06563276b2b0d012a9f48 (patch)
tree37ba71ad32f0cdfe01a76fe2b101075468f59942 /nvim
parent5c26df06419ccffc860cd7cd45e275a00cfc20d8 (diff)
Zsh magix
Diffstat (limited to 'nvim')
-rw-r--r--nvim/lua/keymaps.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/nvim/lua/keymaps.lua b/nvim/lua/keymaps.lua
index 8cbd8da..501a2e8 100644
--- a/nvim/lua/keymaps.lua
+++ b/nvim/lua/keymaps.lua
@@ -10,10 +10,10 @@ map('n', '<leader>fg', '<cmd>Telescope live_grep<CR>', opts)
map('n', '<leader>fb', '<cmd>Telescope buffers<CR>', opts)
-- LSP
---map('n', '<leader>e', vim.diagnostic.open_float, opts)
---map('n', '[d', vim.diagnostic.goto_prev, opts)
---map('n', ']d', vim.diagnostic.goto_next, opts)
---map('n', '<leader>q', vim.diagnostic.setloclist, opts)
+map('n', '<leader>e', vim.diagnostic.open_float, opts)
+map('n', '[d', vim.diagnostic.goto_prev, opts)
+map('n', ']d', vim.diagnostic.goto_next, opts)
+map('n', '<leader>q', vim.diagnostic.setloclist, opts)
local on_attach = function(client, bufnr)
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')