From d16e82d468eb0d5bb1e662ac4812c0ca6fc0fc64 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Tue, 25 Feb 2020 14:47:03 +0300 Subject: reorganized repo to be easier to use with GNU stow; added script to stow --- dotfiles/.vim/after/ftplugin/c.vim | 2 ++ dotfiles/.vim/after/ftplugin/cpp.vim | 2 ++ dotfiles/.vim/after/ftplugin/html.vim | 2 ++ dotfiles/.vim/after/ftplugin/javascript.vim | 2 ++ dotfiles/.vim/after/ftplugin/json.vim | 2 ++ dotfiles/.vim/after/ftplugin/python.vim | 2 ++ dotfiles/.vim/after/ftplugin/toml.vim | 21 +++++++++++++++++++++ dotfiles/.vim/after/ftplugin/yaml.vim | 2 ++ 8 files changed, 35 insertions(+) create mode 100644 dotfiles/.vim/after/ftplugin/c.vim create mode 100644 dotfiles/.vim/after/ftplugin/cpp.vim create mode 100644 dotfiles/.vim/after/ftplugin/html.vim create mode 100644 dotfiles/.vim/after/ftplugin/javascript.vim create mode 100644 dotfiles/.vim/after/ftplugin/json.vim create mode 100644 dotfiles/.vim/after/ftplugin/python.vim create mode 100644 dotfiles/.vim/after/ftplugin/toml.vim create mode 100644 dotfiles/.vim/after/ftplugin/yaml.vim (limited to 'dotfiles/.vim/after/ftplugin') diff --git a/dotfiles/.vim/after/ftplugin/c.vim b/dotfiles/.vim/after/ftplugin/c.vim new file mode 100644 index 0000000..810fd8f --- /dev/null +++ b/dotfiles/.vim/after/ftplugin/c.vim @@ -0,0 +1,2 @@ +setlocal shiftwidth=2 +setlocal tabstop=2 diff --git a/dotfiles/.vim/after/ftplugin/cpp.vim b/dotfiles/.vim/after/ftplugin/cpp.vim new file mode 100644 index 0000000..810fd8f --- /dev/null +++ b/dotfiles/.vim/after/ftplugin/cpp.vim @@ -0,0 +1,2 @@ +setlocal shiftwidth=2 +setlocal tabstop=2 diff --git a/dotfiles/.vim/after/ftplugin/html.vim b/dotfiles/.vim/after/ftplugin/html.vim new file mode 100644 index 0000000..810fd8f --- /dev/null +++ b/dotfiles/.vim/after/ftplugin/html.vim @@ -0,0 +1,2 @@ +setlocal shiftwidth=2 +setlocal tabstop=2 diff --git a/dotfiles/.vim/after/ftplugin/javascript.vim b/dotfiles/.vim/after/ftplugin/javascript.vim new file mode 100644 index 0000000..810fd8f --- /dev/null +++ b/dotfiles/.vim/after/ftplugin/javascript.vim @@ -0,0 +1,2 @@ +setlocal shiftwidth=2 +setlocal tabstop=2 diff --git a/dotfiles/.vim/after/ftplugin/json.vim b/dotfiles/.vim/after/ftplugin/json.vim new file mode 100644 index 0000000..810fd8f --- /dev/null +++ b/dotfiles/.vim/after/ftplugin/json.vim @@ -0,0 +1,2 @@ +setlocal shiftwidth=2 +setlocal tabstop=2 diff --git a/dotfiles/.vim/after/ftplugin/python.vim b/dotfiles/.vim/after/ftplugin/python.vim new file mode 100644 index 0000000..289b7cd --- /dev/null +++ b/dotfiles/.vim/after/ftplugin/python.vim @@ -0,0 +1,2 @@ +setlocal shiftwidth=4 +setlocal tabstop=4 diff --git a/dotfiles/.vim/after/ftplugin/toml.vim b/dotfiles/.vim/after/ftplugin/toml.vim new file mode 100644 index 0000000..9075e88 --- /dev/null +++ b/dotfiles/.vim/after/ftplugin/toml.vim @@ -0,0 +1,21 @@ +" File: ftplugin/toml.vim +" Author: Kevin Ballard +" Description: FileType Plugin for Toml +" Last Change: Feb 12, 2019 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +let s:save_cpo = &cpo +set cpo&vim +let b:undo_ftplugin = 'setlocal commentstring< comments<' + +setlocal commentstring=#\ %s +setlocal comments=:# + +let &cpo = s:save_cpo +unlet s:save_cpo + +" vim: set et sw=4 ts=4: diff --git a/dotfiles/.vim/after/ftplugin/yaml.vim b/dotfiles/.vim/after/ftplugin/yaml.vim new file mode 100644 index 0000000..810fd8f --- /dev/null +++ b/dotfiles/.vim/after/ftplugin/yaml.vim @@ -0,0 +1,2 @@ +setlocal shiftwidth=2 +setlocal tabstop=2 -- cgit v1.2.3