mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-19 23:16:46 +00:00
@@ -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 ]])
|
||||
|
||||
11
nvim/lua/plugins/dir-telescope.lua
Normal file
11
nvim/lua/plugins/dir-telescope.lua
Normal 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,
|
||||
}
|
||||
@@ -43,4 +43,5 @@ return {
|
||||
'<cmd>Telescope commands<cr>',
|
||||
}
|
||||
},
|
||||
file_ignore_patterns = { '^vendor/', '^.git/' },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user