|
@@ -23,6 +23,8 @@ require('mini.statusline').setup({
|
|
|
},
|
|
|
})
|
|
|
|
|
|
+require('mini.bufremove').setup()
|
|
|
+
|
|
|
require('nvim-treesitter.configs').setup {
|
|
|
highlight = {
|
|
|
enable = true,
|
|
@@ -46,6 +48,8 @@ vim.api.nvim_set_keymap('n', '[d', '<cmd>lua vim.diagnostic.goto_prev()<CR>', op
|
|
|
vim.api.nvim_set_keymap('n', ']d', '<cmd>lua vim.diagnostic.goto_next()<CR>', opts)
|
|
|
vim.api.nvim_set_keymap('n', '<space>q', '<cmd>lua vim.diagnostic.setqflist({ severity = { min = vim.diagnostic.severity.WARN } })<CR>', opts)
|
|
|
|
|
|
+vim.api.nvim_set_keymap('n', '<Leader>q', '<cmd>lua MiniBufremove.delete()<CR>', opts)
|
|
|
+
|
|
|
-- Allow pressing enter to autocomplete
|
|
|
vim.api.nvim_set_keymap('i', '<CR>', 'pumvisible() ? "\\<C-y>" : "\\<CR>"', { noremap = true, expr = true })
|
|
|
|