diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/mappings.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/setup/bufferline.lua | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index 111c4f3..e0be18e 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua @@ -40,7 +40,7 @@ map('n', '<leader>gi', '<cmd>Telescope lsp_implementations<cr>', opts) map('n', 'K', '<cmd>lua vim.lsp.buf.hover()<cr>', opts) map('n', '<C-k>', '<cmd>lua vim.lsp.buf.signature_help()<cr>', opts) map('n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<cr>', opts) -map('n', '<leader>xn', '<cmd>lua vim.lsp.diagnostic.goto_next()<cr>', opts) -map('n', '<leader>xN', '<cmd>lua vim.lsp.diagnostic.goto_prev()<cr>', opts) +map('n', '<leader>xn', '<cmd>lua vim.diagnostic.goto_next()<cr>', opts) +map('n', '<leader>xN', '<cmd>lua vim.diagnostic.goto_prev()<cr>', opts) map('n', '<leader>xx', '<cmd>Telescope lsp_code_actions<cr>', opts) map('n', '<leader>xX', '<cmd>Telescope lsp_range_code_actions<cr>', opts) diff --git a/.config/nvim/lua/setup/bufferline.lua b/.config/nvim/lua/setup/bufferline.lua index 3dc0c71..09f1234 100644 --- a/.config/nvim/lua/setup/bufferline.lua +++ b/.config/nvim/lua/setup/bufferline.lua @@ -5,7 +5,10 @@ require("bufferline").setup { padding = 1, } }, diagnostics = "nvim_lsp", + max_name_length = 14, + max_prefix_length = 13, tab_size = 20, + separator_style = "thin", show_close_icon = false, }, } |