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