forked from aniani/vim
patch 8.2.4414: solidity files are not recognized
Problem: Solidity files are not recognized. Solution: Add the *.sol pattern. (Dundar Goc, closes #9792)
This commit is contained in:
committed by
Bram Moolenaar
parent
56acd1f8ed
commit
97b231541d
@@ -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
|
||||
|
||||
|
||||
@@ -480,6 +480,7 @@ let s:filename_checks = {
|
||||
\ 'skill': ['file.il', 'file.ils', 'file.cdf'],
|
||||
\ 'slang': ['file.sl'],
|
||||
\ 'slice': ['file.ice'],
|
||||
\ 'solidity': ['file.sol'],
|
||||
\ 'solution': ['file.sln'],
|
||||
\ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'],
|
||||
\ 'slpreg': ['/etc/slp.reg', 'any/etc/slp.reg'],
|
||||
|
||||
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4414,
|
||||
/**/
|
||||
4413,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user