diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/basics.lua | 2 | ||||
-rw-r--r-- | plugin/keymaps.lua | 2 | ||||
-rw-r--r-- | plugin/lsp.lua | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/plugin/basics.lua b/plugin/basics.lua index 3a5cf4a..8db4995 100644 --- a/plugin/basics.lua +++ b/plugin/basics.lua @@ -29,7 +29,7 @@ opt.incsearch = true opt.ignorecase = true opt.backspace = 'indent,eol,start' opt.exrc = true -opt.signcolumn = 'number' -- Display signs in the 'number' column. +opt.signcolumn = 'auto' -- Display only when there is a sign to display ----------------------------------------------------------- -- Tabs, indent diff --git a/plugin/keymaps.lua b/plugin/keymaps.lua index 0389aef..ec8e436 100644 --- a/plugin/keymaps.lua +++ b/plugin/keymaps.lua @@ -36,7 +36,7 @@ map('t', 'C-w', '<C-\\><C-n><C-w>') map('n', '<leader>B', ':Buffers<CR>') -- FZF show open buffers map('n', '<leader>F', ':Files<CR>') -- FZF show files -map('n', '<leader>A', ':Rg<CR>') -- FZF call ripgrep +map('n', '<leader>A', ':RG<CR>') -- FZF call ripgrep, relaunch ripgrep on every keystroke map('n', '<leader>C', ':Commits<CR>') -- FZF show git commits map('n', '<leader>M', ':Maps<CR>') -- FZF show normal mode mappings diff --git a/plugin/lsp.lua b/plugin/lsp.lua index 92d0119..5dc93ef 100644 --- a/plugin/lsp.lua +++ b/plugin/lsp.lua @@ -1,5 +1,6 @@ vim.lsp.enable({ - "lua_ls" + "lua_ls", + "clangd" }) -- Use LspAttach autocommand to only map the following keys |