]> Sergey Matveev's repositories - dotfiles.git/commitdiff
setlocal is excess in ftplugin
authorSergey Matveev <stargrave@stargrave.org>
Wed, 13 Apr 2022 08:46:16 +0000 (11:46 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 13 Apr 2022 08:46:16 +0000 (11:46 +0300)
vim/.vim/ftplugin/c/autos.vim
vim/.vim/ftplugin/c/fmt.vim
vim/.vim/ftplugin/gitcommit/autos.vim
vim/.vim/ftplugin/go/autos.vim
vim/.vim/ftplugin/python/ignores.vim
vim/.vim/ftplugin/texinfo/autos.vim
vim/.vim/ftplugin/yaml/autos.vim

index d89b689a15f0bac3004a1c0d745cb220bc036f7f..5b935260e2636887b9b2987ecd0d643dc357ce3a 100644 (file)
@@ -1,4 +1,4 @@
-setlocal commentstring=//\ %s
+set commentstring=//\ %s
 let @e = "ywoassert(\epA!= NULL);\e"
 nmap [cl O// clang-format off<ESC>
 nmap ]cl o// clang-format on<ESC>
index d211fd17e88d37dca30879d8080837abd14bf306..0c50d9977a56f68c69afd06ced2d6c98b9a1c2f1 100644 (file)
@@ -1,2 +1,2 @@
-setlocal equalprg=cfmt.sh
+set equalprg=cfmt.sh
 command! -buffer Fmt normal mtgg=G'tz.
index dbd7f4a6a2bb82e9b5463dd9e6c3c21f28daebf6..fe6325e987fe383e372a85fbcee334eeb9bfc4f8 100644 (file)
@@ -1,2 +1,2 @@
-setlocal spell
-setlocal textwidth=72
+set spell
+set textwidth=72
index 56267cf80a6c9d3110876941653c78f1848a95f3..95c4afc10420faacb330a4f92d895f7a5d30622b 100644 (file)
@@ -1,6 +1,6 @@
-setlocal noexpandtab
+set noexpandtab
 let b:defsplit_shift=" "
-setlocal makeprg=go\ build
+set makeprg=go\ build
 
 let @e = "^iif err = \eA; err != nil {\eo        "
 let @r = "oif err != nil {\r}\eO "
index fc306c61025acdbcf7ff27511bc14c824e4c70a3..cbc089fcf67c88816ed7ef0c2b55084487ee59af 100644 (file)
@@ -1 +1 @@
-setlocal wildignore+=**/_build/*,**/.hypothesis
+set wildignore+=**/_build/*,**/.hypothesis
index b7664fdd4754cdf3f3c410861c3ef624ea255889..8af4e1ec42022c829887d8c2eebd5cbd640e3709 100644 (file)
@@ -1,2 +1,2 @@
 abbreviate <buffer> \t @tab
-setlocal commentstring=@c\ %s
+set commentstring=@c\ %s
index 6f78fab41fa11ef915df04dfd2833ff21809edc1..7b7ac767210220022953d4e833803c31673f2b30 100644 (file)
@@ -1 +1 @@
-setlocal shiftwidth=2
+set shiftwidth=2