]> granicus.if.org Git - libevent/commitdiff
Add config for vim/nvim
authorAzat Khuzhin <azat@libevent.org>
Sat, 4 Feb 2023 13:56:53 +0000 (14:56 +0100)
committerAzat Khuzhin <azat@libevent.org>
Sat, 4 Feb 2023 13:56:53 +0000 (14:56 +0100)
.exrc [new file with mode: 0644]

diff --git a/.exrc b/.exrc
new file mode 100644 (file)
index 0000000..7808444
--- /dev/null
+++ b/.exrc
@@ -0,0 +1,15 @@
+"
+" Add this into your .vimrc, to allow vim handle this file.
+"
+" set exrc
+" set secure " even after this this is kind of dangerous
+"
+
+set tabstop=4
+set softtabstop=4
+set shiftwidth=4
+set noexpandtab
+
+" for detectindent plugin
+let detectindent_preferred_indent=4
+let g:detectindent_preferred_expandtab=0