diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-16 23:38:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 23:38:05 +0200 |
commit | f19dc0608161622f7786eb3cddee27d086cc3ea3 (patch) | |
tree | 034f4d7f20ad3747b2cb4bb28f72b92916bb25d9 /runtime | |
parent | fc1cdb88218c7db5ce2641c9eaf7a4a8a3dba32c (diff) | |
download | rneovim-f19dc0608161622f7786eb3cddee27d086cc3ea3.tar.gz rneovim-f19dc0608161622f7786eb3cddee27d086cc3ea3.tar.bz2 rneovim-f19dc0608161622f7786eb3cddee27d086cc3ea3.zip |
vim-patch:8.2.3519: TOML files are not recognized (#16045)
Problem: TOML files are not recognized.
Solution: Add filetype patterns for TOML. (Aman Verma, closes vim/vim#8984)
https://github.com/vim/vim/commit/28b6a3bef6d25d36c049bb731ced496155f7f9c0
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index a9202f2b9e..75354968e9 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -703,6 +703,7 @@ au BufNewFile,BufRead *.gpi setf gnuplot " Go (Google) au BufNewFile,BufRead *.go setf go +au BufNewFile,BufRead Gopkg.lock setf toml " GrADS scripts au BufNewFile,BufRead *.gs setf grads @@ -1283,7 +1284,7 @@ au BufNewFile,BufRead *.rcp setf pilrc au BufNewFile,BufRead .pinerc,pinerc,.pinercex,pinercex setf pine " Pipenv Pipfiles -au BufNewFile,BufRead Pipfile setf config +au BufNewFile,BufRead Pipfile setf toml au BufNewFile,BufRead Pipfile.lock setf json " PL/1, PL/I @@ -1517,6 +1518,7 @@ au BufNewFile,BufRead [rR]antfile,*.rant,[rR]akefile,*.rake setf ruby " Rust au BufNewFile,BufRead *.rs setf rust +au BufNewFile,BufRead Cargo.lock,*/.cargo/config,*/.cargo/credentials setf toml " S-lang (or shader language, or SmallLisp) au BufNewFile,BufRead *.sl setf slang |