Mercurial > vim
diff runtime/filetype.vim @ 28277:4e2753f7ec65 v8.2.4664
patch 8.2.4664: Elvish files are not recognized
Commit: https://github.com/vim/vim/commit/c1658a196bb05dd96562fd0a92409be2201b62e9
Author: Bruno Roque <brunoroque06@gmail.com>
Date: Sat Apr 2 10:48:24 2022 +0100
patch 8.2.4664: Elvish files are not recognized
Problem: Elvish files are not recognized.
Solution: Recognize .elv files. (Bruno Roque, closes https://github.com/vim/vim/issues/10058)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Apr 2022 12:00:04 +0200 |
parents | 67ef250562e5 |
children | 1aa3460f799d |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -420,6 +420,9 @@ au BufNewFile,BufRead *.ex call dist#ft# au BufRead,BufNewFile mix.lock,*.exs setf elixir au BufRead,BufNewFile *.eex,*.leex setf eelixir +" Elvish +au BufRead,BufNewFile *.elv setf elvish + " Euphoria 3 or 4 au BufNewFile,BufRead *.eu,*.ew,*.exu,*.exw call dist#ft#EuphoriaCheck() if has("fname_case")