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 -- set LF instead of CRLF
vim.opt.fileformats = { 'unix', 'dos' } vim.opt.fileformats = { 'unix', 'dos' }
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, { vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
pattern = '*.sh', pattern = { '*.sh', '*.xml' },
command = 'setlocal ff=unix', command = 'setlocal ff=unix',
}) })

View File

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

View File

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