Refactor nvim packer configuration

This commit is contained in:
Marko Korhonen 2022-08-22 14:57:24 +03:00
parent 3138316af8
commit 1b277bf887
11 changed files with 31 additions and 24 deletions

View file

@ -1,14 +0,0 @@
require'nvim-treesitter.configs'.setup {
ensure_installed = {
'bash', 'c', 'css', 'dockerfile', 'html', 'http', 'java', 'json',
'json5', 'latex', 'lua', 'make', 'markdown', 'php', 'python', 'regex',
'rst', 'scss', 'toml', 'tsx', 'typescript', 'javascript', 'yaml'
},
highlight = {enable = true},
indent = {enable = true},
incremental_selection = {enable = true},
context_commentstring = {enable = true}
}
--vim.wo.foldmethod = 'expr'
--im.wo.foldexpr = 'nvim_treesitter#foldexpr()'