mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-05 02:20:10 +00:00
Associate extensions with language
This commit is contained in:
parent
404b1aa65a
commit
d6ca0a1f24
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
name = "C++"
|
||||
path_suffixes = ["cc", "cpp", "h", "hpp"]
|
||||
path_suffixes = ["cc", "cpp", "h", "hpp", "cxx", "hxx", "inl"]
|
||||
line_comment = "// "
|
||||
autoclose_before = ";:.,=}])>"
|
||||
brackets = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name = "JavaScript"
|
||||
path_suffixes = ["js", "jsx", "mjs"]
|
||||
path_suffixes = ["js", "jsx", "mjs", "cjs"]
|
||||
first_line_pattern = '^#!.*\bnode\b'
|
||||
line_comment = "// "
|
||||
autoclose_before = ";:.,=}])>"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name = "Python"
|
||||
path_suffixes = ["py", "pyi"]
|
||||
path_suffixes = ["py", "pyi", "mpy"]
|
||||
first_line_pattern = '^#!.*\bpython[0-9.]*\b'
|
||||
line_comment = "# "
|
||||
autoclose_before = ";:.,=}])>"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name = "TypeScript"
|
||||
path_suffixes = ["ts"]
|
||||
path_suffixes = ["ts", "cts", "d.cts", "d.mts", "mts"]
|
||||
line_comment = "// "
|
||||
autoclose_before = ";:.,=}])>"
|
||||
brackets = [
|
||||
|
|
Loading…
Reference in a new issue