aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/css
diff options
context:
space:
mode:
authorDaniel Woznicki <danwoz@nettoolkit.com>2022-03-18 14:13:27 -0700
committerStephan Seitz <stephan.seitz@fau.de>2022-03-19 12:29:36 +0100
commitb1380560a0f8fe339109ac33840eea5b0ac91cc4 (patch)
tree7c71e7dcef0c94b0a6ddd306c62f2a0647e2bfd1 /tests/indent/css
parentedit(readme): note about the configuration filetypes (diff)
downloadnvim-treesitter-b1380560a0f8fe339109ac33840eea5b0ac91cc4.tar
nvim-treesitter-b1380560a0f8fe339109ac33840eea5b0ac91cc4.tar.gz
nvim-treesitter-b1380560a0f8fe339109ac33840eea5b0ac91cc4.tar.bz2
nvim-treesitter-b1380560a0f8fe339109ac33840eea5b0ac91cc4.tar.lz
nvim-treesitter-b1380560a0f8fe339109ac33840eea5b0ac91cc4.tar.xz
nvim-treesitter-b1380560a0f8fe339109ac33840eea5b0ac91cc4.tar.zst
nvim-treesitter-b1380560a0f8fe339109ac33840eea5b0ac91cc4.zip
Added fix for incorrect CSS indent after closing bracket
Added a failing test for possible broken CSS syntax tree
Diffstat (limited to 'tests/indent/css')
-rw-r--r--tests/indent/css/block.css1
-rw-r--r--tests/indent/css/closing.css1
-rw-r--r--tests/indent/css/next_rule.css3
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/indent/css/block.css b/tests/indent/css/block.css
new file mode 100644
index 000000000..cc79c2c06
--- /dev/null
+++ b/tests/indent/css/block.css
@@ -0,0 +1 @@
+.testo {
diff --git a/tests/indent/css/closing.css b/tests/indent/css/closing.css
new file mode 100644
index 000000000..cc79c2c06
--- /dev/null
+++ b/tests/indent/css/closing.css
@@ -0,0 +1 @@
+.testo {
diff --git a/tests/indent/css/next_rule.css b/tests/indent/css/next_rule.css
new file mode 100644
index 000000000..ae18f1bd7
--- /dev/null
+++ b/tests/indent/css/next_rule.css
@@ -0,0 +1,3 @@
+.testo {
+ color: green;
+}