summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-24 23:24:42 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-24 23:24:42 +0200
commitd53d2189b92ab8150753201e2e2f8cba14b8edc9 (patch)
tree351ffb188afb7e99aeb377d7b8882a8a0cd4cf77 /tests
parenta6a6aeab76bef135d9f76534efa5ee7391c4ed2a (diff)
downloadvim-polyglot-d53d2189b92ab8150753201e2e2f8cba14b8edc9.tar.gz
vim-polyglot-d53d2189b92ab8150753201e2e2f8cba14b8edc9.zip
Add support for .gitignore highlighting
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions.vim3
-rw-r--r--tests/filetypes.vim1
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/extensions.vim b/tests/extensions.vim
index ca42edbb..4db1c073 100644
--- a/tests/extensions.vim
+++ b/tests/extensions.vim
@@ -368,3 +368,6 @@ call TestExtension("htmldjango", "jinja2.html", "{% for item in navigation %}{%
call TestExtension("htmldjango", "jinja3.html", "{% block head %}")
call TestExtension("htmldjango", "jinja4.html", "{# some comment #}")
call TestExtension("xhtml", "xhtml.html", "<DTD XHTML ")
+
+" .gitignore
+call TestExtension(".gitignore", ".gitignore", "")
diff --git a/tests/filetypes.vim b/tests/filetypes.vim
index 8d077072..accc0a72 100644
--- a/tests/filetypes.vim
+++ b/tests/filetypes.vim
@@ -236,3 +236,4 @@ call TestFiletype('odin')
call TestFiletype('bzl')
call TestFiletype('prolog')
call TestFiletype('tads')
+call TestFiletype('gitignore')