diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim index 0f3244531..f4527ae75 100644 --- a/autoload/polyglot/init.vim +++ b/autoload/polyglot/init.vim @@ -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') diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim index e3c0752ec..5229be244 100644 --- a/autoload/polyglot/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -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', diff --git a/packages.yaml b/packages.yaml index 524f77087..c01bc8ec4 100644 --- a/packages.yaml +++ b/packages.yaml @@ -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