Skip to content

Commit

Permalink
Add Twig CS fixer option
Browse files Browse the repository at this point in the history
  • Loading branch information
niksy committed Dec 27, 2024
1 parent 3f7c437 commit 5bb44a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LSP-twiggy.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"twiggy.phpExecutable": "php",
"twiggy.framework": "ignore",
"twiggy.vanillaTwigEnvironmentPath": "",
"twiggy.symfonyConsolePath": "bin/console"
"twiggy.symfonyConsolePath": "bin/console",
"twiggy.diagnostics.twigCsFixer": true
},
// File watching functionality only works with "LSP-file-watcher-chokidar" package installed.
"file_watcher": {
Expand Down
5 changes: 5 additions & 0 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"default": true,
"markdownDescription": "Insert spaces inside of `{{ | }}` and `{% | %}`."
},
"twiggy.diagnostics.twigCsFixer": {
"type": "boolean",
"default": true,
"markdownDescription": "Use VincentLanglet/Twig-CS-Fixer, if installed."
},
"twiggy.inlayHints.macroArguments": {
"type": "boolean",
"default": true,
Expand Down

0 comments on commit 5bb44a2

Please sign in to comment.