Merge branch 'master' of https://git.freiewildbahn.de/oli/nvim
This commit is contained in:
commit
837a273774
@ -243,7 +243,3 @@ command_center.add({
|
|||||||
cmd = '<CMD>set guifont=JetBrainsMonoNL\\ NF:h9<CR>',
|
cmd = '<CMD>set guifont=JetBrainsMonoNL\\ NF:h9<CR>',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ capabilities.textDocument.completion.completionItem.resolveSupport = {
|
|||||||
'additionalTextEdits',
|
'additionalTextEdits',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)
|
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
|
||||||
|
|
||||||
OpenDiagFloat = function()
|
OpenDiagFloat = function()
|
||||||
for _, winid in pairs(vim.api.nvim_tabpage_list_wins(0)) do
|
for _, winid in pairs(vim.api.nvim_tabpage_list_wins(0)) do
|
||||||
|
@ -18,6 +18,7 @@ require('neo-tree').setup({
|
|||||||
-- you can also specify border here, if you want a different setting from
|
-- you can also specify border here, if you want a different setting from
|
||||||
-- the global popup_border_style.
|
-- the global popup_border_style.
|
||||||
},
|
},
|
||||||
|
enable_git_status = false,
|
||||||
-- Mappings for tree window. See `:h nep-tree-mappings` for a list of built-in commands.
|
-- Mappings for tree window. See `:h nep-tree-mappings` for a list of built-in commands.
|
||||||
-- You can also create your own commands by providing a function instead of a string.
|
-- You can also create your own commands by providing a function instead of a string.
|
||||||
mappings = {
|
mappings = {
|
||||||
|
@ -1,27 +1,7 @@
|
|||||||
require('nvim-tree').setup({
|
-- disable netrw at the very start of your init.lua (strongly advised)
|
||||||
auto_close = true,
|
vim.g.loaded = 1
|
||||||
update_cwd = true,
|
vim.g.loaded_netrwPlugin = 1
|
||||||
update_to_buf_dir = {
|
|
||||||
-- enable the feature
|
-- empty setup using defaults
|
||||||
enable = true,
|
require('nvim-tree').setup()
|
||||||
-- allow to open the tree if it was previously closed
|
vim.keymap.set('n', '\\', '<cmd>NvimTreeToggle<CR>')
|
||||||
auto_open = false,
|
|
||||||
},
|
|
||||||
update_focused_file = {
|
|
||||||
enable = true,
|
|
||||||
update_cwd = false,
|
|
||||||
ignore_list = {},
|
|
||||||
},
|
|
||||||
diagnostics = {
|
|
||||||
enable = true,
|
|
||||||
icons = {
|
|
||||||
hint = '',
|
|
||||||
info = '',
|
|
||||||
warning = '',
|
|
||||||
error = '',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
vim.keymap.set('n', '<leader>tt', '<cmd>NvimTreeToggle<CR>')
|
|
||||||
vim.g.nvim_tree_highlight_opened_files = 1
|
|
||||||
vim.g.nvim_tree_respect_buf_cwd = 1
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user