diff options
| author | yuzu-eva <stevenhu@web.de> | 2022-05-29 00:45:00 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2022-05-29 00:45:00 +0200 |
| commit | 06de264caa4c54f4fb1cf33289a4638a81d797f9 (patch) | |
| tree | 78874ab4ea278c670eea942cb30999507da96083 /.config/nvim/lua | |
| parent | 6979654c01fd7d3e68408b15aaed478a71553629 (diff) | |
removed infuriating html indentation from treesitter
Diffstat (limited to '.config/nvim/lua')
| -rw-r--r-- | .config/nvim/lua/user/misc.lua | 6 | ||||
| -rw-r--r-- | .config/nvim/lua/user/plugins/treesitter.lua | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/.config/nvim/lua/user/misc.lua b/.config/nvim/lua/user/misc.lua new file mode 100644 index 0000000..88d47cf --- /dev/null +++ b/.config/nvim/lua/user/misc.lua @@ -0,0 +1,6 @@ +vim.cmd [[ + augroup Indentation + autocmd! + autocmd FileType html set inde= + augroup END +]] diff --git a/.config/nvim/lua/user/plugins/treesitter.lua b/.config/nvim/lua/user/plugins/treesitter.lua index 44cf008..405be2d 100644 --- a/.config/nvim/lua/user/plugins/treesitter.lua +++ b/.config/nvim/lua/user/plugins/treesitter.lua @@ -1,7 +1,7 @@ require('nvim-treesitter.configs').setup { - indent = { - enable = true, - }, + -- indent = { + -- enable = true, + -- }, highlight = { enable = true, disable = { 'NvimTree' }, |
