indent: user default value for css
This commit is contained in:
parent
cf8c2e185f
commit
629b6e1707
|
@ -375,6 +375,10 @@ dotfiles: # Just a bunch of paths and action mappings
|
||||||
src: theme
|
src: theme
|
||||||
dst: ~/
|
dst: ~/
|
||||||
|
|
||||||
|
prettierrc:
|
||||||
|
src: prettierrc.toml
|
||||||
|
dst: ~/.prettierrc.toml
|
||||||
|
|
||||||
clang-format:
|
clang-format:
|
||||||
src: clang-format
|
src: clang-format
|
||||||
dst: ~/.clang-format
|
dst: ~/.clang-format
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
set global tabstop {{@@ indent_width @@}}
|
set global tabstop {{@@ indent_width @@}}
|
||||||
{%@@ set small_indent = [2, indent_width / 2] | max @@%}
|
{%@@ set small_indent = [2, indent_width / 2] | max @@%}
|
||||||
|
|
||||||
hook global BufCreate .*\.(ya?ml|c(pp)?|css|less) %{
|
hook global BufCreate .*\.(ya?ml|c(pp)?) %{
|
||||||
set buffer indentwidth {{@@ small_indent @@}}
|
set buffer indentwidth {{@@ small_indent @@}}
|
||||||
set global tabstop {{@@ small_indent @@}}
|
set global tabstop {{@@ small_indent @@}}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# {{@@ header() @@}}
|
||||||
|
|
||||||
|
tabWidth = {{@@ indent_width @@}}
|
Reference in New Issue