mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 19:37:54 +03:00
Recognize .sublime-*
files (#12750)
This commit is contained in:
parent
17ffa38a5a
commit
30616344d7
1 changed files with 23 additions and 2 deletions
|
@ -480,6 +480,18 @@ file-types = [
|
||||||
"ldtk",
|
"ldtk",
|
||||||
"ldtkl",
|
"ldtkl",
|
||||||
{ glob = ".swift-format" },
|
{ glob = ".swift-format" },
|
||||||
|
"sublime-build",
|
||||||
|
"sublime-color-scheme",
|
||||||
|
"sublime-commands",
|
||||||
|
"sublime-completions",
|
||||||
|
"sublime-keymap",
|
||||||
|
"sublime-macro",
|
||||||
|
"sublime-menu",
|
||||||
|
"sublime-mousemap",
|
||||||
|
"sublime-project",
|
||||||
|
"sublime-settings",
|
||||||
|
"sublime-theme",
|
||||||
|
"sublime-workspace"
|
||||||
]
|
]
|
||||||
language-servers = [ "vscode-json-language-server" ]
|
language-servers = [ "vscode-json-language-server" ]
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
@ -1359,7 +1371,15 @@ source = { git = "https://github.com/ikatyang/tree-sitter-vue", rev = "91fe27547
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "yaml"
|
name = "yaml"
|
||||||
scope = "source.yaml"
|
scope = "source.yaml"
|
||||||
file-types = ["yml", "yaml", { glob = ".prettierrc" }, { glob = ".clangd" }, { glob = ".clang-format" }, { glob = ".clang-tidy" }]
|
file-types = [
|
||||||
|
"yml",
|
||||||
|
"yaml",
|
||||||
|
{ glob = ".prettierrc" },
|
||||||
|
{ glob = ".clangd" },
|
||||||
|
{ glob = ".clang-format" },
|
||||||
|
{ glob = ".clang-tidy" },
|
||||||
|
"sublime-syntax"
|
||||||
|
]
|
||||||
comment-token = "#"
|
comment-token = "#"
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
language-servers = [ "yaml-language-server", "ansible-language-server" ]
|
language-servers = [ "yaml-language-server", "ansible-language-server" ]
|
||||||
|
@ -2741,7 +2761,8 @@ file-types = [
|
||||||
"xoml",
|
"xoml",
|
||||||
"musicxml",
|
"musicxml",
|
||||||
"glif",
|
"glif",
|
||||||
"ui"
|
"ui",
|
||||||
|
"sublime-snippet"
|
||||||
]
|
]
|
||||||
block-comment-tokens = { start = "<!--", end = "-->" }
|
block-comment-tokens = { start = "<!--", end = "-->" }
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue