mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
fix(filetype): fix typos in filetype detection
This commit is contained in:
parent
46b69aaf14
commit
aa9f21ee95
@ -594,7 +594,7 @@ function M.frm(_, bufnr)
|
|||||||
end
|
end
|
||||||
|
|
||||||
--- @type vim.filetype.mapfn
|
--- @type vim.filetype.mapfn
|
||||||
function M.fvwm_1(_, _)
|
function M.fvwm_v1(_, _)
|
||||||
return 'fvwm', function(bufnr)
|
return 'fvwm', function(bufnr)
|
||||||
vim.b[bufnr].fvwm_version = 1
|
vim.b[bufnr].fvwm_version = 1
|
||||||
end
|
end
|
||||||
@ -1355,7 +1355,7 @@ end
|
|||||||
function M.sgml(_, bufnr)
|
function M.sgml(_, bufnr)
|
||||||
local lines = table.concat(getlines(bufnr, 1, 5))
|
local lines = table.concat(getlines(bufnr, 1, 5))
|
||||||
if lines:find('linuxdoc') then
|
if lines:find('linuxdoc') then
|
||||||
return 'smgllnx'
|
return 'sgmllnx'
|
||||||
elseif lines:find('<!DOCTYPE.*DocBook') then
|
elseif lines:find('<!DOCTYPE.*DocBook') then
|
||||||
return 'docbk',
|
return 'docbk',
|
||||||
function(b)
|
function(b)
|
||||||
|
Loading…
Reference in New Issue
Block a user