Przeglądaj źródła

Use setlocal insted of set (#404)

* setlocal insted of set for css

Check `:h setl`

* setlocal insted of set for html

* setlocal insted of set for js

* setlocal insted of set for jsreact

* setlocal insted of set for yaml
Eliaz Bobadilla 4 lat temu
rodzic
commit
b12cd861c1

+ 2 - 2
ftplugin/css.vim

@@ -1,2 +1,2 @@
-set ts=2
-set sw=2             
+setl ts=2
+setl sw=2             

+ 2 - 2
ftplugin/html.vim

@@ -1,2 +1,2 @@
-set ts=2
-set sw=2             
+setl ts=2
+setl sw=2             

+ 2 - 2
ftplugin/javascript.vim

@@ -1,2 +1,2 @@
-set ts=2
-set sw=2             
+setl ts=2
+setl sw=2             

+ 3 - 3
ftplugin/javascriptreact.vim

@@ -1,3 +1,3 @@
-setlocal commentstring={/*%s*/}
-set ts=2
-set sw=2             
+setl commentstring={/*%s*/}
+setl ts=2
+setl sw=2             

+ 0 - 1
ftplugin/yaml.vim

@@ -1,3 +1,2 @@
 set ts=2
 set sw=2             
-