summaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-29 19:11:11 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-29 19:11:11 +0200
commit1872af2d5e596cbea44a6e5739692dbff8302af5 (patch)
tree06f1348f1ac073b6580c00ef254563f0fd6db94b /autoload
parent46b09b0d5b3cb45d8e62851c40b418a3b9f20af4 (diff)
downloadvim-polyglot-1872af2d5e596cbea44a6e5739692dbff8302af5.tar.gz
vim-polyglot-1872af2d5e596cbea44a6e5739692dbff8302af5.zip
Fix detection of conf files, closes #569
Diffstat (limited to 'autoload')
-rw-r--r--autoload/sleuth.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/sleuth.vim b/autoload/sleuth.vim
index 1ee1cd9b..e5f2e2ed 100644
--- a/autoload/sleuth.vim
+++ b/autoload/sleuth.vim
@@ -45,6 +45,7 @@ let s:globs = {
\ 'clojure': '*.clj,*.boot,*.cl2,*.cljc,*.cljs,*.cljs.hl,*.cljscm,*.cljx,*.hic,*.edn,riemann.config,build.boot,profile.boot',
\ 'cmake': '*.cmake,*.cmake.in,CMakeLists.txt',
\ 'coffee': '*.coffee,*._coffee,*.cake,*.cjsx,*.iced,*.coffeekup,Cakefile',
+ \ 'conf': '*.conf,auto.master,config',
\ 'cpp': '*.cpp,*.c++,*.cc,*.cp,*.cxx,*.h,*.h++,*.hh,*.hpp,*.hxx,*.inc,*.inl,*.ipp,*.tcc,*.tpp,*.moc,*.tlh',
\ 'cql': '*.cql',
\ 'cryptol': '*.cry,*.cyl,*.lcry,*.lcyl',
@@ -94,7 +95,7 @@ let s:globs = {
\ 'groovy': '*.groovy,*.grt,*.gtpl,*.gvy,*.gradle,Jenkinsfile',
\ 'grub': '',
\ 'haml': '*.haml,*.haml.deface,*.hamlc,*.hamlbars',
- \ 'haproxy': '*.cfg,haproxy.cfg,haproxy*.c*',
+ \ 'haproxy': '*.cfg,haproxy.cfg,haproxy*.conf*',
\ 'haskell': '*.hs,*.hs-boot,*.hsc,*.bpk,*.hsig',
\ 'haxe': '*.hx,*.hxsl',
\ 'hcl': '*.hcl,*.nomad,*.workflow,Appfile',