Change filetype detection for .sc
The code used deprecated functions and I don't use Supercollider anyway, so make .sc always be a scala file
This commit is contained in:
parent
0223565b9a
commit
c6010628ca
2 changed files with 10 additions and 33 deletions
|
@ -1,18 +1,19 @@
|
|||
vim.filetype.add({
|
||||
extension = {
|
||||
['vtt'] = 'vtt',
|
||||
['typ'] = 'typst',
|
||||
["vtt"] = "vtt",
|
||||
["typ"] = "typst",
|
||||
["sc"] = "scala",
|
||||
},
|
||||
filename = {
|
||||
['.scalafmt.conf'] = 'hocon',
|
||||
['kitty.conf'] = 'kitty',
|
||||
['neomuttrc'] = 'neomutt',
|
||||
['template'] = 'sh',
|
||||
['mbsyncrc'] = 'mbsyncrc',
|
||||
[".scalafmt.conf"] = "hocon",
|
||||
["kitty.conf"] = "kitty",
|
||||
["neomuttrc"] = "neomutt",
|
||||
["template"] = "sh",
|
||||
["mbsyncrc"] = "mbsyncrc",
|
||||
},
|
||||
pattern = {
|
||||
['${XDG_CONFIG_HOME}/kitty/*.conf'] = 'kitty',
|
||||
['${XDG_CONFIG_HOME}/kitty/*.session'] = 'kitty-session',
|
||||
["${XDG_CONFIG_HOME}/kitty/*.conf"] = "kitty",
|
||||
["${XDG_CONFIG_HOME}/kitty/*.session"] = "kitty-session",
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue