Fixed neo tree hidden files and added follow file
This commit is contained in:
@@ -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',
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user