Match filenames case-insenstively

This commit is contained in:
Mihai Galos
2021-10-10 20:45:10 +02:00
parent 4d4aa5fe55
commit cf408f9125
3 changed files with 3 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ if !has_key(g:polyglot_is_disabled, 'nftables')
endif endif
if !has_key(g:polyglot_is_disabled, 'just') if !has_key(g:polyglot_is_disabled, 'just')
au BufNewFile,BufRead *.just,justfile setf just au BufNewFile,BufRead *.just,\cjustfile setf just
endif endif
if !has_key(g:polyglot_is_disabled, 'sway') if !has_key(g:polyglot_is_disabled, 'sway')

View File

@@ -267,7 +267,7 @@ let s:globs = {
\ 'jsp': '*.jsp', \ 'jsp': '*.jsp',
\ 'jst': '*.ejs,*.ect,*.jst', \ 'jst': '*.ejs,*.ect,*.jst',
\ 'julia': '*.jl', \ 'julia': '*.jl',
\ 'just': '*.just,justfile', \ 'just': '*.just,\cjustfile',
\ 'kconfig': 'Kconfig,Kconfig.debug,Kconfig.*', \ 'kconfig': 'Kconfig,Kconfig.debug,Kconfig.*',
\ 'kivy': '*.kv', \ 'kivy': '*.kv',
\ 'kix': '*.kix', \ 'kix': '*.kix',

View File

@@ -5510,7 +5510,7 @@ remote: NoahTheDuke/vim-just
filetypes: filetypes:
- name: just - name: just
patterns: patterns:
- pattern: 'justfile,*.just' - pattern: '\cjustfile,*.just'
description: 'Just a task runner (https://github.com/casey/just)' description: 'Just a task runner (https://github.com/casey/just)'
--- ---
name: nftables name: nftables