aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/html.vim
diff options
context:
space:
mode:
authorTeddy Wing2015-08-25 11:37:26 -0400
committerTeddy Wing2015-08-25 11:37:26 -0400
commitb97acd90bc50036739fcb3d1c85740e77b97d7e3 (patch)
tree2769f3347688e06c9b519f45acd504692c402f32 /ftplugin/html.vim
parent535123759ff48e22e4e3063160c8c407e5886094 (diff)
downloaddotvim-b97acd90bc50036739fcb3d1c85740e77b97d7e3.tar.bz2
ftplugin/html.vim: Add `-` to `iskeyword` list
Include hyphens in the `iskeyword` list so that CSS class names can be autocompleted. This should make things faster and hopefully save me from typing some long repetitive class names.
Diffstat (limited to 'ftplugin/html.vim')
-rw-r--r--ftplugin/html.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/html.vim b/ftplugin/html.vim
index c33ddd4..d90bf3e 100644
--- a/ftplugin/html.vim
+++ b/ftplugin/html.vim
@@ -10,3 +10,7 @@ if exists("loaded_matchit")
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
endif
+
+
+" Include hyphen in the keyword list so that CSS class names can be autocompleted
+setlocal iskeyword+=-