summaryrefslogtreecommitdiff
path: root/vim/.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim')
-rw-r--r--vim/.vim/ftplugin/c.vim2
-rw-r--r--vim/.vim/ftplugin/html.vim2
-rw-r--r--vim/.vim/ftplugin/javascript.vim4
-rw-r--r--vim/.vim/ftplugin/markdown.vim14
-rw-r--r--vim/.vim/ftplugin/python.vim2
-rw-r--r--vim/.vim/spell/en.utf-8.splbin0 -> 609337 bytes
6 files changed, 24 insertions, 0 deletions
diff --git a/vim/.vim/ftplugin/c.vim b/vim/.vim/ftplugin/c.vim
new file mode 100644
index 0000000..5c2fba2
--- /dev/null
+++ b/vim/.vim/ftplugin/c.vim
@@ -0,0 +1,2 @@
+set tabstop=4 softtabstop=0 noexpandtab shiftwidth=4
+set autoindent
diff --git a/vim/.vim/ftplugin/html.vim b/vim/.vim/ftplugin/html.vim
new file mode 100644
index 0000000..12b33db
--- /dev/null
+++ b/vim/.vim/ftplugin/html.vim
@@ -0,0 +1,2 @@
+set tabstop=2 softtabstop=0 noexpandtab shiftwidth=2
+set autoindent
diff --git a/vim/.vim/ftplugin/javascript.vim b/vim/.vim/ftplugin/javascript.vim
new file mode 100644
index 0000000..6abfcce
--- /dev/null
+++ b/vim/.vim/ftplugin/javascript.vim
@@ -0,0 +1,4 @@
+set tabstop=2 softtabstop=0 noexpandtab shiftwidth=2
+set autoindent
+
+let javaScript_fold=1
diff --git a/vim/.vim/ftplugin/markdown.vim b/vim/.vim/ftplugin/markdown.vim
new file mode 100644
index 0000000..8abe28a
--- /dev/null
+++ b/vim/.vim/ftplugin/markdown.vim
@@ -0,0 +1,14 @@
+setlocal syntax=markdown
+
+" Spellcheck in markdown (automatic to english)
+setlocal spelllang=en
+setlocal spell
+
+" Textwidth for automatic wrap `gq` is formatting operation
+setlocal textwidth=79
+setlocal formatoptions+=t
+
+
+" Highlight where the lines are more than 80 characters wide
+setlocal colorcolumn=80
+highlight ColorColumn ctermbg=LightGreen
diff --git a/vim/.vim/ftplugin/python.vim b/vim/.vim/ftplugin/python.vim
new file mode 100644
index 0000000..5c2fba2
--- /dev/null
+++ b/vim/.vim/ftplugin/python.vim
@@ -0,0 +1,2 @@
+set tabstop=4 softtabstop=0 noexpandtab shiftwidth=4
+set autoindent
diff --git a/vim/.vim/spell/en.utf-8.spl b/vim/.vim/spell/en.utf-8.spl
new file mode 100644
index 0000000..83b9b8f
--- /dev/null
+++ b/vim/.vim/spell/en.utf-8.spl
Binary files differ