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
if !has_key(g:polyglot_is_disabled, 'just')
au BufNewFile,BufRead *.just,justfile setf just
au BufNewFile,BufRead *.just,\cjustfile setf just
endif
if !has_key(g:polyglot_is_disabled, 'sway')

View File

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

View File

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