Skip to content

Commit

Permalink
Add treesitter config for yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Oct 19, 2024
1 parent d106cc3 commit 38af907
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
"\\.(js|jsx)$": "javascript",
"\\.json$": "json",
"\\.lock$": "json",
"\\.yml$": "yaml",
"\\.nix$": "nix",
"\\.ocaml$": "ocaml",
"\\.php$": "php",
Expand Down Expand Up @@ -352,6 +353,17 @@
],
"lineComment": "//"
},
"yaml": {
"treesitter": "tree-sitter-grammars/tree-sitter-yaml",
"tabWidth": 2,
"indent": "spaces",
"indentAfter": [
":",
"{",
"["
],
"lineComment": "#"
},
"markdown": {
"treesitter": "tree-sitter-grammars/tree-sitter-markdown/tree-sitter-markdown",
"treesitter-queries": "tree-sitter-markdown/queries",
Expand Down

0 comments on commit 38af907

Please sign in to comment.