mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
feat(filetype.lua): fix .env file not detected
This commit is contained in:
parent
596c55756a
commit
19864bd995
@ -1075,6 +1075,7 @@ local filename = {
|
||||
[".alias"] = function() vim.fn["dist#ft#CSH"]() end,
|
||||
[".bashrc"] = function() vim.fn["dist#ft#SetFileTypeSH"]("bash") end,
|
||||
[".cshrc"] = function() vim.fn["dist#ft#CSH"]() end,
|
||||
[".env"] = function() vim.fn["dist#ft#SetFileTypeSH"](vim.fn.getline(1)) end,
|
||||
[".kshrc"] = function() vim.fn["dist#ft#SetFileTypeSH"]("ksh") end,
|
||||
[".login"] = function() vim.fn["dist#ft#CSH"]() end,
|
||||
[".profile"] = function() vim.fn["dist#ft#SetFileTypeSH"](vim.fn.getline(1)) end,
|
||||
|
Loading…
Reference in New Issue
Block a user