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

@@ -8,6 +8,7 @@
"cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" },
"codeium.vim": { "branch": "main", "commit": "7a01ffb1e6538fe634f294908a50a7b680039284" },
"comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"dir-telescope.nvim": { "branch": "main", "commit": "805405b9f98dc3470f8676773dc0e6151a9158ed" },
"dressing.nvim": { "branch": "master", "commit": "c5775a888adbc50652cb370073fcfec963eca93e" },
"fidget.nvim": { "branch": "legacy", "commit": "2f7c08f45639a64a5c0abcf67321d52c3f499ae6" },
"gitsigns.nvim": { "branch": "main", "commit": "def49e48c6329527e344d0c99a0d2cd9fdf6bb84" },

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/' },
}