mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
vim-patch:8.2.4414: solidity files are not recognized (#17451)
Problem: Solidity files are not recognized.
Solution: Add the *.sol pattern. (Dundar Goc, closes vim/vim#9792)
97b231541d
This commit is contained in:
@@ -1791,6 +1791,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
|
||||
|
||||
|
@@ -598,6 +598,7 @@ local extension = {
|
||||
sl = "slang",
|
||||
ice = "slice",
|
||||
score = "slrnsc",
|
||||
sol = "solidity",
|
||||
tpl = "smarty",
|
||||
ihlp = "smcl",
|
||||
smcl = "smcl",
|
||||
|
Reference in New Issue
Block a user