Skip to content

Commit 1af8ec6

Browse files
committed
Disable tresitter indentation in YAML
Fixes #1505 Signed-off-by: David Thompson <[email protected]>
1 parent d350db2 commit 1af8ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ require('lazy').setup({
946946
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
947947
additional_vim_regex_highlighting = { 'ruby' },
948948
},
949-
indent = { enable = true, disable = { 'ruby' } },
949+
indent = { enable = true, disable = { 'ruby', 'yaml' } },
950950
},
951951
-- There are additional nvim-treesitter modules that you can use to interact
952952
-- with nvim-treesitter. You should go explore a few and see what interests you:

0 commit comments

Comments
 (0)