diff options
Diffstat (limited to 'runtime/lua')
| -rw-r--r-- | runtime/lua/vim/filetype.lua | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index bd317baae9..d584d2659d 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -448,6 +448,8 @@ local extension = {    gsp = 'gsp',    gjs = 'javascript.glimmer',    gts = 'typescript.glimmer', +  gyp = 'gyp', +  gypi = 'gyp',    hack = 'hack',    hackpartial = 'hack',    haml = 'haml', @@ -1019,6 +1021,8 @@ local extension = {    ts = function(path, bufnr)      return M.getlines(bufnr, 1):find('<%?xml') and 'xml' or 'typescript'    end, +  mts = 'typescript', +  cts = 'typescript',    tsx = 'typescriptreact',    uc = 'uc',    uit = 'uil', @@ -1451,6 +1455,7 @@ local filename = {    ['.sawfishrc'] = 'lisp',    ['/etc/login.access'] = 'loginaccess',    ['/etc/login.defs'] = 'logindefs', +  ['.luacheckrc'] = 'lua',    ['lynx.cfg'] = 'lynx',    ['m3overrides'] = 'm3build',    ['m3makefile'] = 'm3build', @@ -1496,6 +1501,8 @@ local filename = {    ['/etc/shadow-'] = 'passwd',    ['/etc/shadow'] = 'passwd',    ['/etc/passwd.edit'] = 'passwd', +  ['latexmkrc'] = 'perl', +  ['.latexmkrc'] = 'perl',    ['pf.conf'] = 'pf',    ['main.cf'] = 'pfmain',    pinerc = 'pine', | 
