Fixed neo tree hidden files and added follow file

This commit is contained in:
Zackarias Montell
2026-01-29 10:05:14 +01:00
parent d4ef839a07
commit 07314d71f7
3 changed files with 16 additions and 1 deletions

View File

@@ -68,6 +68,6 @@ vim.opt.confirm = true
-- set LF instead of CRLF
vim.opt.fileformats = { 'unix', 'dos' }
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
pattern = '*.sh',
pattern = { '*.sh', '*.xml' },
command = 'setlocal ff=unix',
})

View File

@@ -23,6 +23,19 @@ return {
},
},
filesystem = {
follow_current_file = {
enabled = true,
},
filtered_items = {
always_show = {
'.gitignore',
'.gitattributes',
},
always_show_by_pattern = {
'.gitlab*',
'*.env',
},
},
window = {
mappings = {
['\\'] = 'close_window',

View File

@@ -256,6 +256,8 @@ return {
powershell_es = {},
intelephense = {},
bashls = {},
docker_language_server = {},
docker_compose_language_service = {},
}
-- Ensure the servers and tools above are installed