diff options
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 9c59442caf..1b209e6a9d 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -2275,9 +2275,9 @@ end --- priority = -math.huge, --- function(path, bufnr) --- local content = vim.filetype.getlines(bufnr, 1) ---- if vim.filetype.matchregex(content, { [[^#!.*\\<mine\\>]] }) then +--- if vim.filetype.matchregex(content, [[^#!.*\\<mine\\>]]) then --- return 'mine' ---- elseif vim.filetype.matchregex(content, { [[\\<drawing\\>]] }) then +--- elseif vim.filetype.matchregex(content, [[\\<drawing\\>]]) then --- return 'drawing' --- end --- end, |