Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
d0zingcat
2025-01-20 16:05:16 +08:00
parent ee14922f6c
commit 76d0e3e44a
13 changed files with 17 additions and 2639 deletions

View File

@@ -6,6 +6,7 @@ cmd([[ autocmd FileType python setlocal tabstop=4 shiftwidth=4 softtabstop=4 tex
cmd([[ autocmd FileType go setlocal tabstop=4 shiftwidth=4 softtabstop=4 textwidth=120 noexpandtab ]])
cmd([[ autocmd FileType json,jsonnet setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab ]])
cmd([[ autocmd FileType yaml setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=0 expandtab ]])
cmd([[ autocmd FileType gotmpl setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=0 expandtab ]])
cmd([[ autocmd FileType php setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=120 ]])
cmd([[ autocmd FileType html,htmldjango,xhtml,haml setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=0 ]])
cmd([[ autocmd FileType ruby setlocal tabstop=2 shiftwidth=2 softtabstop=2 textwidth=120 ]])

View File

@@ -0,0 +1,11 @@
return {
'princejoogie/dir-telescope.nvim',
event = 'VeryLazy',
dependencies = {
'nvim-telescope/telescope.nvim',
},
config = function()
require('dir-telescope').setup()
require('telescope').load_extension('dir')
end,
}

View File

@@ -43,4 +43,5 @@ return {
'<cmd>Telescope commands<cr>',
}
},
file_ignore_patterns = { '^vendor/', '^.git/' },
}