diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-05-15 01:18:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-15 07:18:33 +0800 |
| commit | 7acf39ddab8ebdb63ebf78ec980149d20783fd4b (patch) | |
| tree | 90bd4d1b3aa6b9c8e340a3f825651eb3ac47071e /runtime/lua/vim/filetype.lua | |
| parent | b83d5fabc6cbe08867b933958de7df7d3917247b (diff) | |
| download | rneovim-7acf39ddab8ebdb63ebf78ec980149d20783fd4b.tar.gz rneovim-7acf39ddab8ebdb63ebf78ec980149d20783fd4b.tar.bz2 rneovim-7acf39ddab8ebdb63ebf78ec980149d20783fd4b.zip | |
docs: misc (#28609)
Closes https://github.com/neovim/neovim/issues/28484.
Closes https://github.com/neovim/neovim/issues/28719.
Co-authored-by: Chris <crwebb85@gmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Jake B <16889000+jakethedev@users.noreply.github.com>
Co-authored-by: Jonathan Raines <jonathan.s.raines@gmail.com>
Co-authored-by: Yi Ming <ofseed@foxmail.com>
Co-authored-by: Zane Dufour <zane@znd4.me>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/filetype.lua')
| -rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index d6f680b195..0ae0f9ca92 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -2312,7 +2312,6 @@ end --- vim.filetype.add { --- pattern = { --- ['.*'] = { ---- priority = -math.huge, --- function(path, bufnr) --- local content = vim.api.nvim_buf_get_lines(bufnr, 0, 1, false)[1] or '' --- if vim.regex([[^#!.*\\<mine\\>]]):match_str(content) ~= nil then @@ -2321,6 +2320,7 @@ end --- return 'drawing' --- end --- end, +--- { priority = -math.huge }, --- }, --- }, --- } |