diff options
author | =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> | 2022-02-18 13:45:55 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-18 13:45:55 +0000 |
commit | 97b231541d4e82fbc85e51121448d95bd43c50ad (patch) | |
tree | 5b6f513be1fa650d1e31e2a99c2cd1ce38841b57 /runtime/filetype.vim | |
parent | 56acd1f8ed4d86e92684f90b3b8e0e9a355208d1 (diff) |
patch 8.2.4414: solidity files are not recognizedv8.2.4414
Problem: Solidity files are not recognized.
Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 288697be10..c75fdfb8c7 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1795,6 +1795,9 @@ au BufNewFile,BufRead *.mib,*.my setf mib au BufNewFile,BufRead *.hog,snort.conf,vision.conf setf hog au BufNewFile,BufRead *.rules call dist#ft#FTRules() +" Solidity +au BufRead,BufNewFile *.sol setf solidity + " SPARQL queries au BufNewFile,BufRead *.rq,*.sparql setf sparql |