summaryrefslogtreecommitdiffstats
path: root/after/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax')
-rw-r--r--after/syntax/c.vim2
-rw-r--r--after/syntax/coffee.vim2
-rw-r--r--after/syntax/cpp.vim2
-rw-r--r--after/syntax/haskell.vim2
-rw-r--r--after/syntax/help.vim2
-rw-r--r--after/syntax/html.vim2
-rw-r--r--after/syntax/html/aria.vim2
-rw-r--r--after/syntax/html/electron.vim2
-rw-r--r--after/syntax/html/rdfa.vim2
-rw-r--r--after/syntax/idris.vim2
-rw-r--r--after/syntax/idris2.vim2
-rw-r--r--after/syntax/javascript.vim2
-rw-r--r--after/syntax/javascript/graphql.vim2
-rw-r--r--after/syntax/javascript/html5.vim2
-rw-r--r--after/syntax/javascript/sql.vim2
-rw-r--r--after/syntax/javascriptreact.vim2
-rw-r--r--after/syntax/javascriptreact/graphql.vim2
-rw-r--r--after/syntax/jsx.vim2
-rw-r--r--after/syntax/jsx_pretty.vim2
-rw-r--r--after/syntax/llvm.vim2
-rw-r--r--after/syntax/mdx.vim2
-rw-r--r--after/syntax/mma.vim2
-rw-r--r--after/syntax/objc.vim2
-rw-r--r--after/syntax/php/graphql.vim2
-rw-r--r--after/syntax/reason.vim2
-rw-r--r--after/syntax/reason/graphql.vim2
-rw-r--r--after/syntax/rspec.vim2
-rw-r--r--after/syntax/ruby.vim2
-rw-r--r--after/syntax/rust.vim2
-rw-r--r--after/syntax/tex.vim2
-rw-r--r--after/syntax/tsx.vim2
-rw-r--r--after/syntax/typescript/graphql.vim2
-rw-r--r--after/syntax/typescriptreact.vim2
-rw-r--r--after/syntax/typescriptreact/graphql.vim2
-rw-r--r--after/syntax/vue/graphql.vim2
-rw-r--r--after/syntax/zsh.vim2
36 files changed, 36 insertions, 36 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim
index a8f7f416..a5daa792 100644
--- a/after/syntax/c.vim
+++ b/after/syntax/c.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'cpp-modern')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'cpp-modern', 'after/syntax/c.vim')
finish
endif
diff --git a/after/syntax/coffee.vim b/after/syntax/coffee.vim
index a3e5d8fa..df65b1d9 100644
--- a/after/syntax/coffee.vim
+++ b/after/syntax/coffee.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'cjsx')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'cjsx', 'after/syntax/coffee.vim')
finish
endif
diff --git a/after/syntax/cpp.vim b/after/syntax/cpp.vim
index 1143e439..27e6abdb 100644
--- a/after/syntax/cpp.vim
+++ b/after/syntax/cpp.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'cpp-modern')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'cpp-modern', 'after/syntax/cpp.vim')
finish
endif
diff --git a/after/syntax/haskell.vim b/after/syntax/haskell.vim
index 61886369..9820e792 100644
--- a/after/syntax/haskell.vim
+++ b/after/syntax/haskell.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'dhall')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'dhall', 'after/syntax/haskell.vim')
finish
endif
diff --git a/after/syntax/help.vim b/after/syntax/help.vim
index 007c21f3..b19c8d0d 100644
--- a/after/syntax/help.vim
+++ b/after/syntax/help.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'scala')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'scala', 'after/syntax/help.vim')
finish
endif
diff --git a/after/syntax/html.vim b/after/syntax/html.vim
index 9dec611e..44d8f793 100644
--- a/after/syntax/html.vim
+++ b/after/syntax/html.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'html5')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/html.vim')
finish
endif
diff --git a/after/syntax/html/aria.vim b/after/syntax/html/aria.vim
index b589cc5e..6444f63f 100644
--- a/after/syntax/html/aria.vim
+++ b/after/syntax/html/aria.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'html5')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/html/aria.vim')
finish
endif
diff --git a/after/syntax/html/electron.vim b/after/syntax/html/electron.vim
index 35aa1a1e..7ad41cfc 100644
--- a/after/syntax/html/electron.vim
+++ b/after/syntax/html/electron.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'html5')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/html/electron.vim')
finish
endif
diff --git a/after/syntax/html/rdfa.vim b/after/syntax/html/rdfa.vim
index 5554f12b..6138f637 100644
--- a/after/syntax/html/rdfa.vim
+++ b/after/syntax/html/rdfa.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'html5')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/html/rdfa.vim')
finish
endif
diff --git a/after/syntax/idris.vim b/after/syntax/idris.vim
index 51aa6422..66fc91d1 100644
--- a/after/syntax/idris.vim
+++ b/after/syntax/idris.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'idris')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'idris', 'after/syntax/idris.vim')
finish
endif
diff --git a/after/syntax/idris2.vim b/after/syntax/idris2.vim
index 6aaecf4d..fedcd8c1 100644
--- a/after/syntax/idris2.vim
+++ b/after/syntax/idris2.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'idris2')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'idris2', 'after/syntax/idris2.vim')
finish
endif
diff --git a/after/syntax/javascript.vim b/after/syntax/javascript.vim
index 67a63055..469a906e 100644
--- a/after/syntax/javascript.vim
+++ b/after/syntax/javascript.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'jsx')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/javascript.vim')
finish
endif
diff --git a/after/syntax/javascript/graphql.vim b/after/syntax/javascript/graphql.vim
index dafba802..d13ae9fb 100644
--- a/after/syntax/javascript/graphql.vim
+++ b/after/syntax/javascript/graphql.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'graphql')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/javascript/graphql.vim')
finish
endif
diff --git a/after/syntax/javascript/html5.vim b/after/syntax/javascript/html5.vim
index b605aed5..117b4fed 100644
--- a/after/syntax/javascript/html5.vim
+++ b/after/syntax/javascript/html5.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'html5')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/javascript/html5.vim')
finish
endif
diff --git a/after/syntax/javascript/sql.vim b/after/syntax/javascript/sql.vim
index 52b94d70..6ee30026 100644
--- a/after/syntax/javascript/sql.vim
+++ b/after/syntax/javascript/sql.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'javascript-sql')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'javascript-sql', 'after/syntax/javascript/sql.vim')
finish
endif
diff --git a/after/syntax/javascriptreact.vim b/after/syntax/javascriptreact.vim
index ceacc887..a5c77225 100644
--- a/after/syntax/javascriptreact.vim
+++ b/after/syntax/javascriptreact.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'jsx')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/javascriptreact.vim')
finish
endif
diff --git a/after/syntax/javascriptreact/graphql.vim b/after/syntax/javascriptreact/graphql.vim
index 6842f74c..2e1291a8 100644
--- a/after/syntax/javascriptreact/graphql.vim
+++ b/after/syntax/javascriptreact/graphql.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'graphql')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/javascriptreact/graphql.vim')
finish
endif
diff --git a/after/syntax/jsx.vim b/after/syntax/jsx.vim
index 8ca6c767..c5a1917c 100644
--- a/after/syntax/jsx.vim
+++ b/after/syntax/jsx.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'jsx')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/jsx.vim')
finish
endif
diff --git a/after/syntax/jsx_pretty.vim b/after/syntax/jsx_pretty.vim
index 714cfb5b..115924c4 100644
--- a/after/syntax/jsx_pretty.vim
+++ b/after/syntax/jsx_pretty.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'jsx')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/jsx_pretty.vim')
finish
endif
diff --git a/after/syntax/llvm.vim b/after/syntax/llvm.vim
index 024928b8..2154a635 100644
--- a/after/syntax/llvm.vim
+++ b/after/syntax/llvm.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'llvm')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'llvm', 'after/syntax/llvm.vim')
finish
endif
diff --git a/after/syntax/mdx.vim b/after/syntax/mdx.vim
index 8d734bb2..38722924 100644
--- a/after/syntax/mdx.vim
+++ b/after/syntax/mdx.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'mdx')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'mdx', 'after/syntax/mdx.vim')
finish
endif
diff --git a/after/syntax/mma.vim b/after/syntax/mma.vim
index 67611337..bd8a0213 100644
--- a/after/syntax/mma.vim
+++ b/after/syntax/mma.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'mathematica')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'mathematica', 'after/syntax/mma.vim')
finish
endif
diff --git a/after/syntax/objc.vim b/after/syntax/objc.vim
index a9805eed..d0b48090 100644
--- a/after/syntax/objc.vim
+++ b/after/syntax/objc.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'objc')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'objc', 'after/syntax/objc.vim')
finish
endif
diff --git a/after/syntax/php/graphql.vim b/after/syntax/php/graphql.vim
index 3c94bcb8..00c9811b 100644
--- a/after/syntax/php/graphql.vim
+++ b/after/syntax/php/graphql.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'graphql')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/php/graphql.vim')
finish
endif
diff --git a/after/syntax/reason.vim b/after/syntax/reason.vim
index c30114ee..b64d866d 100644
--- a/after/syntax/reason.vim
+++ b/after/syntax/reason.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'reason')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'reason', 'after/syntax/reason.vim')
finish
endif
diff --git a/after/syntax/reason/graphql.vim b/after/syntax/reason/graphql.vim
index 0ef3b1d7..74a88a5d 100644
--- a/after/syntax/reason/graphql.vim
+++ b/after/syntax/reason/graphql.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'graphql')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/reason/graphql.vim')
finish
endif
diff --git a/after/syntax/rspec.vim b/after/syntax/rspec.vim
index 9a0961d7..d83bbacc 100644
--- a/after/syntax/rspec.vim
+++ b/after/syntax/rspec.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'rspec')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'rspec', 'after/syntax/rspec.vim')
finish
endif
diff --git a/after/syntax/ruby.vim b/after/syntax/ruby.vim
index 3c9fccd2..082115e1 100644
--- a/after/syntax/ruby.vim
+++ b/after/syntax/ruby.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'yard')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'yard', 'after/syntax/ruby.vim')
finish
endif
diff --git a/after/syntax/rust.vim b/after/syntax/rust.vim
index 1cf3e3a2..319c14b9 100644
--- a/after/syntax/rust.vim
+++ b/after/syntax/rust.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'rust')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'rust', 'after/syntax/rust.vim')
finish
endif
diff --git a/after/syntax/tex.vim b/after/syntax/tex.vim
index 8a30dc30..e99af17f 100644
--- a/after/syntax/tex.vim
+++ b/after/syntax/tex.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'tex')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'tex', 'after/syntax/tex.vim')
finish
endif
diff --git a/after/syntax/tsx.vim b/after/syntax/tsx.vim
index 458419d2..933bff82 100644
--- a/after/syntax/tsx.vim
+++ b/after/syntax/tsx.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'jsx')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/tsx.vim')
finish
endif
diff --git a/after/syntax/typescript/graphql.vim b/after/syntax/typescript/graphql.vim
index df6bf36c..6db06513 100644
--- a/after/syntax/typescript/graphql.vim
+++ b/after/syntax/typescript/graphql.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'graphql')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/typescript/graphql.vim')
finish
endif
diff --git a/after/syntax/typescriptreact.vim b/after/syntax/typescriptreact.vim
index 3c3b2666..72f82492 100644
--- a/after/syntax/typescriptreact.vim
+++ b/after/syntax/typescriptreact.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'jsx')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/typescriptreact.vim')
finish
endif
diff --git a/after/syntax/typescriptreact/graphql.vim b/after/syntax/typescriptreact/graphql.vim
index 0367e0da..518c6b68 100644
--- a/after/syntax/typescriptreact/graphql.vim
+++ b/after/syntax/typescriptreact/graphql.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'graphql')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/typescriptreact/graphql.vim')
finish
endif
diff --git a/after/syntax/vue/graphql.vim b/after/syntax/vue/graphql.vim
index 6842f74c..935154d8 100644
--- a/after/syntax/vue/graphql.vim
+++ b/after/syntax/vue/graphql.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'graphql')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/vue/graphql.vim')
finish
endif
diff --git a/after/syntax/zsh.vim b/after/syntax/zsh.vim
index fcdcac31..cf4f9246 100644
--- a/after/syntax/zsh.vim
+++ b/after/syntax/zsh.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'zinit')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'zinit', 'after/syntax/zsh.vim')
finish
endif