mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Relax previous commit a bit
This commit is contained in:
@@ -1820,7 +1820,7 @@ if !has_key(s:disabled_packages, 'toml')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if !has_key(s:disabled_packages, 'tmux')
|
if !has_key(s:disabled_packages, 'tmux')
|
||||||
au BufNewFile,BufRead .tmux*.conf setf tmux
|
au BufNewFile,BufRead {.,}tmux*.conf setf tmux
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !has_key(s:disabled_packages, 'thrift')
|
if !has_key(s:disabled_packages, 'thrift')
|
||||||
|
|||||||
@@ -579,7 +579,7 @@ def generate_ftdetect(packages, heuristics)
|
|||||||
end
|
end
|
||||||
|
|
||||||
for filename in filenames.sort
|
for filename in filenames.sort
|
||||||
if filename.match?(/^\.[^\*\/]+$/)
|
if filename.match?(/^\.[^\/]+[^\*]$/)
|
||||||
filename = "{.,}" + filename[1..-1]
|
filename = "{.,}" + filename[1..-1]
|
||||||
end
|
end
|
||||||
if filename[-1] == "*"
|
if filename[-1] == "*"
|
||||||
|
|||||||
Reference in New Issue
Block a user