add vim-sleuth

enable treesitter indentation
This commit is contained in:
Pim Kunis 2023-01-31 19:16:07 +01:00
parent 96d3e928b1
commit cbae9439e3
3 changed files with 10 additions and 4 deletions

View file

@ -51,4 +51,7 @@ return require('packer').startup(function()
-- Commenting
use 'terrortylor/nvim-comment'
-- Automatic settings depending on file type
use 'tpope/vim-sleuth'
end)

View file

@ -10,4 +10,8 @@ require'nvim-treesitter.configs'.setup {
-- `false` will disable the whole extension
enable = true,
},
indent = {
enable = true
}
}