]> gitweb.factorcode.org Git - factor.git/commitdiff
Rename misc/vim/ftplugin/factor_settings.vim to misc/vim/ftplugin/factor.vim
authorKeita Haga <keitahaga@mail.com>
Mon, 4 Apr 2011 11:34:43 +0000 (20:34 +0900)
committerKeita Haga <keitahaga@mail.com>
Mon, 4 Apr 2011 11:34:43 +0000 (20:34 +0900)
misc/vim/ftplugin/factor.vim [new file with mode: 0644]
misc/vim/ftplugin/factor_settings.vim [deleted file]

diff --git a/misc/vim/ftplugin/factor.vim b/misc/vim/ftplugin/factor.vim
new file mode 100644 (file)
index 0000000..ced9e85
--- /dev/null
@@ -0,0 +1,17 @@
+" Code formatting settings loosely adapted from:
+" http://concatenative.org/wiki/view/Factor/Coding%20Style
+
+" Tabs are not allowed in Factor source files; use four spaces instead.
+setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4
+
+" Try to limit lines to 64 characters, except for documentation, which can be
+" any length.
+if expand("%:t") !~ "-docs\.factor$"
+    setlocal textwidth=64
+
+    " Mark anything in column 64 or beyond as a syntax error.
+    match Error /\%>63v.\+/
+endif
+
+" Teach Vim what comments look like.
+setlocal comments+=b:!,b:#!
diff --git a/misc/vim/ftplugin/factor_settings.vim b/misc/vim/ftplugin/factor_settings.vim
deleted file mode 100644 (file)
index ced9e85..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-" Code formatting settings loosely adapted from:
-" http://concatenative.org/wiki/view/Factor/Coding%20Style
-
-" Tabs are not allowed in Factor source files; use four spaces instead.
-setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4
-
-" Try to limit lines to 64 characters, except for documentation, which can be
-" any length.
-if expand("%:t") !~ "-docs\.factor$"
-    setlocal textwidth=64
-
-    " Mark anything in column 64 or beyond as a syntax error.
-    match Error /\%>63v.\+/
-endif
-
-" Teach Vim what comments look like.
-setlocal comments+=b:!,b:#!