on master help sign in
Add VSCode file associations (#8388)
893802dYoav Lavi
languages.toml+172−19
@@ -317,7 +317,27 @@ indent = { tab-width = 2, unit = " " }
317name = "json"
317name = "json"
318scope = "source.json"
318scope = "source.json"
319injection-regex = "json"
319injection-regex = "json"
320−file-types = ["json", "jsonc", "arb", "ipynb", "geojson", "gltf", "webmanifest", "flake.lock", ".babelrc"]
320+file-types = [
321+ "json",
322+ "jsonc",
323+ "arb",
324+ "ipynb",
325+ "geojson",
326+ "gltf",
327+ "webmanifest",
328+ "flake.lock",
329+ ".babelrc",
330+ ".bowerrc",
331+ ".jscrc",
332+ "js.map",
333+ "ts.map",
334+ "css.map",
335+ ".jslintrc",
336+ "jsonld",
337+ ".vuerc",
338+ "composer.lock",
339+ ".watchmanconfig"
340+]
321roots = []
341roots = []
322language-servers = [ "vscode-json-language-server" ]
342language-servers = [ "vscode-json-language-server" ]
323auto-format = true
343auto-format = true
@@ -368,7 +388,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-c", rev = "7175a6dd
368name = "cpp"
388name = "cpp"
369scope = "source.cpp"
389scope = "source.cpp"
370injection-regex = "cpp"
390injection-regex = "cpp"
371−file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H", "cu", "cuh", "cppm"]
391+file-types = ["cc", "hh", "c++", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H", "cu", "cuh", "cppm", "h++", "ii", "inl", { suffix = ".hpp.in" }, { suffix = ".h.in" }]
372roots = []
392roots = []
373comment-token = "//"
393comment-token = "//"
374language-servers = [ "clangd" ]
394language-servers = [ "clangd" ]
@@ -415,7 +435,7 @@ language-servers = [ "crystalline" ]
415name = "c-sharp"
435name = "c-sharp"
416scope = "source.csharp"
436scope = "source.csharp"
417injection-regex = "c-?sharp"
437injection-regex = "c-?sharp"
418−file-types = ["cs"]
438+file-types = ["cs", "csx", "cake"]
419roots = ["sln", "csproj"]
439roots = ["sln", "csproj"]
420comment-token = "//"
440comment-token = "//"
421indent = { tab-width = 4, unit = "\t" }
441indent = { tab-width = 4, unit = "\t" }
@@ -546,7 +566,7 @@ name = "javascript"
546scope = "source.js"
566scope = "source.js"
547injection-regex = "(js|javascript)"
567injection-regex = "(js|javascript)"
548language-id = "javascript"
568language-id = "javascript"
549−file-types = ["js", "mjs", "cjs", "rules"]
569+file-types = ["js", "mjs", "cjs", "rules", "es6", "pac", "jakefile"]
550shebangs = ["node"]
570shebangs = ["node"]
551roots = []
571roots = []
552comment-token = "//"
572comment-token = "//"
@@ -642,7 +662,7 @@ source = { git = "https://github.com/serenadeai/tree-sitter-scss", rev = "c478c6
642name = "html"
662name = "html"
643scope = "text.html.basic"
663scope = "text.html.basic"
644injection-regex = "html"
664injection-regex = "html"
645−file-types = ["html"]
665+file-types = ["html", "htm", "shtml", "xhtml", "xht", "jsp", "asp", "aspx", "jshtm", "volt", "rhtml"]
646roots = []
666roots = []
647language-servers = [ "vscode-html-language-server" ]
667language-servers = [ "vscode-html-language-server" ]
648auto-format = true
668auto-format = true
@@ -656,7 +676,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-html", rev = "29f53
656name = "python"
676name = "python"
657scope = "source.python"
677scope = "source.python"
658injection-regex = "python"
678injection-regex = "python"
659−file-types = ["py","pyi","py3","pyw","ptl",".pythonstartup",".pythonrc","SConstruct"]
679+file-types = ["py","pyi","py3","pyw","ptl",".pythonstartup",".pythonrc","SConstruct", "rpy", "cpy", "ipy", "pyt", "SConscript"]
660shebangs = ["python"]
680shebangs = ["python"]
661roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"]
681roots = ["pyproject.toml", "setup.py", "poetry.lock", "pyrightconfig.json"]
662comment-token = "#"
682comment-token = "#"
@@ -708,7 +728,42 @@ source = { git = "https://github.com/nix-community/tree-sitter-nix", rev = "1b69
708name = "ruby"
728name = "ruby"
709scope = "source.ruby"
729scope = "source.ruby"
710injection-regex = "ruby"
730injection-regex = "ruby"
711−file-types = ["rb", "rake", "rakefile", "irb", "gemfile", "gemspec", "Rakefile", "Gemfile", "rabl", "jbuilder", "jb", "Podfile", "podspec", "Vagrantfile", "Brewfile"]
731+file-types = [
732+ "rb",
733+ "rake",
734+ "rakefile",
735+ "irb",
736+ "gemfile",
737+ "gemspec",
738+ "Rakefile",
739+ "Gemfile",
740+ "rabl",
741+ "jbuilder",
742+ "jb",
743+ "Podfile",
744+ "podspec",
745+ "Vagrantfile",
746+ "Brewfile",
747+ "rjs",
748+ "rbi",
749+ "Guardfile",
750+ "Capfile",
751+ "Cheffile",
752+ "Hobofile",
753+ "Appraisals",
754+ "Rantfile",
755+ "Berksfile",
756+ "Berksfile.lock",
757+ "Thorfile",
758+ "Puppetfile",
759+ "Fastfile",
760+ "Appfile",
761+ "Deliverfile",
762+ "Matchfile",
763+ "Scanfile",
764+ "Snapfile",
765+ "Gymfile"
766+]
712shebangs = ["ruby"]
767shebangs = ["ruby"]
713roots = []
768roots = []
714comment-token = "#"
769comment-token = "#"
@@ -723,7 +778,47 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-ruby", rev = "206c7
723name = "bash"
778name = "bash"
724scope = "source.bash"
779scope = "source.bash"
725injection-regex = "(shell|bash|zsh|sh)"
780injection-regex = "(shell|bash|zsh|sh)"
726−file-types = ["sh", "bash", "zsh", ".bash_login", ".bash_logout", ".bash_profile", ".bashrc", ".profile", ".zshenv", "zshenv", ".zlogin", "zlogin", ".zlogout", "zlogout", ".zprofile", "zprofile", ".zshrc", "zshrc", ".zimrc", "APKBUILD", "PKGBUILD", "eclass", "ebuild", "bazelrc", ".bash_aliases", "Renviron", ".Renviron"]
781+file-types = [
782+ "sh",
783+ "bash",
784+ "zsh",
785+ ".bash_login",
786+ ".bash_logout",
787+ ".bash_profile",
788+ ".bashrc",
789+ ".profile",
790+ ".zshenv",
791+ "zshenv",
792+ ".zlogin",
793+ "zlogin",
794+ ".zlogout",
795+ "zlogout",
796+ ".zprofile",
797+ "zprofile",
798+ ".zshrc",
799+ "zshrc",
800+ ".zimrc",
801+ "APKBUILD",
802+ "PKGBUILD",
803+ "eclass",
804+ "ebuild",
805+ "bazelrc",
806+ ".bash_aliases",
807+ "Renviron",
808+ ".Renviron",
809+ ".xprofile",
810+ ".xsession",
811+ ".xsessionrc",
812+ "zsh-theme",
813+ "ksh",
814+ "cshrc",
815+ "tcshrc",
816+ ".yashrc",
817+ ".yash_profile",
818+ ".hushlogin",
819+ "bashrc_Apple_Terminal",
820+ "zshrc_Apple_Terminal"
821+]
727shebangs = ["sh", "bash", "dash", "zsh"]
822shebangs = ["sh", "bash", "dash", "zsh"]
728roots = []
823roots = []
729comment-token = "#"
824comment-token = "#"
@@ -738,7 +833,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "275ef
738name = "php"
833name = "php"
739scope = "source.php"
834scope = "source.php"
740injection-regex = "php"
835injection-regex = "php"
741−file-types = ["php", "inc"]
836+file-types = ["php", "inc", "php4", "php5", "phtml", "ctp"]
742shebangs = ["php"]
837shebangs = ["php"]
743roots = ["composer.json", "index.php"]
838roots = ["composer.json", "index.php"]
744language-servers = [ "intelephense" ]
839language-servers = [ "intelephense" ]
@@ -764,7 +859,7 @@ source = { git = "https://github.com/gbprod/tree-sitter-twig", rev = "807b293fec
764name = "latex"
859name = "latex"
765scope = "source.tex"
860scope = "source.tex"
766injection-regex = "tex"
861injection-regex = "tex"
767−file-types = ["tex", "sty", "cls", "Rd"]
862+file-types = ["tex", "sty", "cls", "Rd", "bbx", "cbx"]
768roots = []
863roots = []
769comment-token = "%"
864comment-token = "%"
770language-servers = [ "texlab" ]
865language-servers = [ "texlab" ]
@@ -1086,7 +1181,7 @@ source = { git = "https://github.com/uyha/tree-sitter-cmake", rev = "6e51463ef30
1086[[language]]
1181[[language]]
1087name = "make"
1182name = "make"
1088scope = "source.make"
1183scope = "source.make"
1089−file-types = ["Makefile", "makefile", "make", "mk"]
1184+file-types = ["Makefile", "makefile", "make", "mk", "mak", "GNUmakefile", "OCamlMakefile"]
1090shebangs = ["make", "gmake"]
1185shebangs = ["make", "gmake"]
1091injection-regex = "(make|makefile|Makefile|mk)"
1186injection-regex = "(make|makefile|Makefile|mk)"
1092roots = []
1187roots = []
@@ -1113,7 +1208,7 @@ source = { git = "https://github.com/theHamsta/tree-sitter-glsl", rev = "88408ff
1113[[language]]
1208[[language]]
1114name = "perl"
1209name = "perl"
1115scope = "source.perl"
1210scope = "source.perl"
1116−file-types = ["pl", "pm", "t"]
1211+file-types = ["pl", "pm", "t", "psgi", "raku", "rakumod", "rakutest", "rakudoc", "nqp", "p6", "pl6", "pm6"]
1117shebangs = ["perl"]
1212shebangs = ["perl"]
1118roots = []
1213roots = []
1119comment-token = "#"
1214comment-token = "#"
@@ -1240,7 +1335,7 @@ source = { git = "https://github.com/Flakebi/tree-sitter-tablegen", rev = "568dd
1240name = "markdown"
1335name = "markdown"
1241scope = "source.md"
1336scope = "source.md"
1242injection-regex = "md|markdown"
1337injection-regex = "md|markdown"
1243−file-types = ["md", "markdown", "PULLREQ_EDITMSG"]
1338+file-types = ["md", "markdown", "PULLREQ_EDITMSG", "mkd", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook"]
1244roots = [".marksman.toml"]
1339roots = [".marksman.toml"]
1245language-servers = [ "marksman" ]
1340language-servers = [ "marksman" ]
1246indent = { tab-width = 2, unit = " " }
1341indent = { tab-width = 2, unit = " " }
@@ -1320,7 +1415,7 @@ source = { git = "https://github.com/the-mikedavis/tree-sitter-git-commit", rev
1320name = "diff"
1415name = "diff"
1321scope = "source.diff"
1416scope = "source.diff"
1322roots = []
1417roots = []
1323−file-types = ["diff", "patch"]
1418+file-types = ["diff", "patch", "rej"]
1324injection-regex = "diff"
1419injection-regex = "diff"
1325comment-token = "#"
1420comment-token = "#"
1326indent = { tab-width = 2, unit = " " }
1421indent = { tab-width = 2, unit = " " }
@@ -1578,7 +1673,7 @@ source = { git = "https://github.com/Hubro/tree-sitter-robot", rev = "322e4cc657
1578name = "r"
1673name = "r"
1579scope = "source.r"
1674scope = "source.r"
1580injection-regex = "(r|R)"
1675injection-regex = "(r|R)"
1581−file-types = ["r", "R", ".Rprofile", "Rprofile.site"]
1676+file-types = ["r", "R", ".Rprofile", "Rprofile.site", ".RHistory"]
1582shebangs = ["r", "R"]
1677shebangs = ["r", "R"]
1583roots = []
1678roots = []
1584comment-token = "#"
1679comment-token = "#"
@@ -1663,7 +1758,7 @@ source = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "
1663[[language]]
1758[[language]]
1664name = "sql"
1759name = "sql"
1665scope = "source.sql"
1760scope = "source.sql"
1666−file-types = ["sql"]
1761+file-types = ["sql", "dsql"]
1667roots = []
1762roots = []
1668comment-token = "--"
1763comment-token = "--"
1669indent = { tab-width = 4, unit = " " }
1764indent = { tab-width = 4, unit = " " }
@@ -2206,7 +2301,62 @@ source = { git = "https://github.com/Unoqwy/tree-sitter-kdl", rev = "e1cd292c6d1
2206name = "xml"
2301name = "xml"
2207scope = "source.xml"
2302scope = "source.xml"
2208injection-regex = "xml"
2303injection-regex = "xml"
2209−file-types = ["xml", "mobileconfig", "plist", "xib", "storyboard", "svg", "xsd", "gml", "xaml", "gir", "rss", "atom", "opml", "policy"]
2304+file-types = [
2305+ "xml",
2306+ "mobileconfig",
2307+ "plist",
2308+ "xib",
2309+ "storyboard",
2310+ "svg",
2311+ "xsd",
2312+ "gml",
2313+ "xaml",
2314+ "gir",
2315+ "rss",
2316+ "atom",
2317+ "opml",
2318+ "policy",
2319+ "ascx",
2320+ "axml",
2321+ "axaml",
2322+ "bpmn",
2323+ "cpt",
2324+ "csl",
2325+ "csproj.user",
2326+ "dita",
2327+ "ditamap",
2328+ "dtml",
2329+ "fxml",
2330+ "iml",
2331+ "isml",
2332+ "jmx",
2333+ "launch",
2334+ "menu",
2335+ "mxml",
2336+ "nuspec",
2337+ "pt",
2338+ "publishsettings",
2339+ "pubxml",
2340+ "pubxml.user",
2341+ "rbxlx",
2342+ "rbxmx",
2343+ "rng",
2344+ "shproj",
2345+ "tld",
2346+ "tmx",
2347+ "vbproj.user",
2348+ "vcxproj",
2349+ "vcxproj.filters",
2350+ "wsdl",
2351+ "wxi",
2352+ "wxs",
2353+ "xbl",
2354+ "xlf",
2355+ "xliff",
2356+ "xpdl",
2357+ "xul",
2358+ "xoml"
2359+]
2210indent = { tab-width = 2, unit = " " }
2360indent = { tab-width = 2, unit = " " }
2211roots = []
2361roots = []
2212
2362
@@ -2295,7 +2445,10 @@ file-types = [
2295 "volume",
2445 "volume",
2296 "kube",
2446 "kube",
2297 "network",
2447 "network",
2298− ".editorconfig"
2448+ ".editorconfig",
2449+ "properties",
2450+ "cfg",
2451+ "directory"
2299]
2452]
2300injection-regex = "ini"
2453injection-regex = "ini"
2301comment-token = "#"
2454comment-token = "#"
@@ -2704,7 +2857,7 @@ name = "fsharp"
2704scope = "source.fs"
2857scope = "source.fs"
2705roots = ["sln", "fsproj"]
2858roots = ["sln", "fsproj"]
2706injection-regex = "fsharp"
2859injection-regex = "fsharp"
2707−file-types = ["fs", "fsx"]
2860+file-types = ["fs", "fsx", "fsi", "fsscript"]
2708comment-token = "//"
2861comment-token = "//"
2709indent = { tab-width = 4, unit = " " }
2862indent = { tab-width = 4, unit = " " }
2710auto-format = true
2863auto-format = true