filetype.nvim icon indicating copy to clipboard operation
filetype.nvim copied to clipboard

A faster version of filetype.vim

Results 21 filetype.nvim issues
Sort by recently updated
recently updated
newest added

This plugin uses [string.find](https://www.lua.org/manual/5.1/manual.html#pdf-string.find), not [vim.regex](https://neovim.io/doc/user/lua.html#regex:match_str()). As Lua patterns are more limited and have a different syntax than usual regexes, the README should make it clear. Users might think the...

Fixes https://github.com/nathom/filetype.nvim/issues/87

I was setting up [vim-bundler]() and was struggling to figure out why it kept treating my `Gemfile.lock` as toml, even though the package includes its own syntax and filetype. I...

Nice plugin, thanks! Given `/usr/local/Cellar/neovim//share/nvim/runtime/filetype.vim` is not fully loaded because of `vim.g.did_load_filetypes = 1` it also does not load ```viml " Use the filetype detect plugins. They may overrule any...

If this is really this much better and works consistently and as well as `filetype.vim` then IMO it should be included in Neovim core, to outright replace `filetype.vim`. Just a...

If I have script with shebang `#!/usr/bin/gnuplot`, `nvim` automatically sets the `filetype` as `gnuplot`. But if I set any option to `gnuplot` such as, `#!/usr/bin/gnuplot --persist`, the `filetype` is no...

I'm getting this error only when I try to open *.md files: ``` Error detected while processing BufReadPost Autocommands for "*": E5108: Error executing lua ...te/pack/packer/start/filetype.nvim/lua/filetype/init.lua:8: Vim(syntax):E484: Can't open file...

Would it be acceptable to set the filetype as systemd for `.service` extensions? I often work on service files not in the `/etc/systemd` or the related folders when working on...

Hello everyone, first off: thank you for your great plugin! It really is a good effort and much easier to read than vimscript. I'm getting some strange filedetections lately and...