diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim index 9e991f36..b1b1ab85 100644 --- a/autoload/polyglot/init.vim +++ b/autoload/polyglot/init.vim @@ -190,7 +190,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 5eb946e1..6906d56d 100644 --- a/autoload/polyglot/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -269,7 +269,7 @@ let s:globs = { \ 'jsp': '*.jsp', \ 'jst': '*.ejs,*.ect,*.ejs.t,*.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 4335324c..422214eb 100644 --- a/packages.yaml +++ b/packages.yaml @@ -5502,7 +5502,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