diff options
-rw-r--r-- | nvim/nvim/ftplugin/html.vim | 14 | ||||
-rw-r--r-- | nvim/nvim/shada/main.shada | bin | 54238 -> 0 bytes | |||
-rw-r--r-- | vim/.vim/ftplugin/html.vim | 5 |
3 files changed, 15 insertions, 4 deletions
diff --git a/nvim/nvim/ftplugin/html.vim b/nvim/nvim/ftplugin/html.vim index 6a56808..fb854a7 100644 --- a/nvim/nvim/ftplugin/html.vim +++ b/nvim/nvim/ftplugin/html.vim @@ -1,2 +1,12 @@ -set tabstop=2 softtabstop=0 expandtab shiftwidth=2 -set autoindent +setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2 +setlocal autoindent + +" Test some wrapping on the html +setlocal textwidth=79 +setlocal formatoptions+=t + +" Highlight where the lines are more than 80 characters wide +setlocal colorcolumn=80 +highlight ColorColumn ctermbg=LightGreen + +setlocal foldmethod=indent diff --git a/nvim/nvim/shada/main.shada b/nvim/nvim/shada/main.shada Binary files differdeleted file mode 100644 index 5e5cf2d..0000000 --- a/nvim/nvim/shada/main.shada +++ /dev/null diff --git a/vim/.vim/ftplugin/html.vim b/vim/.vim/ftplugin/html.vim index fc0d53a..fb854a7 100644 --- a/vim/.vim/ftplugin/html.vim +++ b/vim/.vim/ftplugin/html.vim @@ -1,5 +1,5 @@ -set tabstop=2 softtabstop=0 expandtab shiftwidth=2 -set autoindent +setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2 +setlocal autoindent " Test some wrapping on the html setlocal textwidth=79 @@ -9,3 +9,4 @@ setlocal formatoptions+=t setlocal colorcolumn=80 highlight ColorColumn ctermbg=LightGreen +setlocal foldmethod=indent |