diff options
| author | Teddy Wing | 2015-08-25 11:37:26 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-08-25 11:37:26 -0400 |
| commit | b97acd90bc50036739fcb3d1c85740e77b97d7e3 (patch) | |
| tree | 2769f3347688e06c9b519f45acd504692c402f32 /ftplugin | |
| parent | 535123759ff48e22e4e3063160c8c407e5886094 (diff) | |
| download | dotvim-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')
| -rw-r--r-- | ftplugin/html.vim | 4 |
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+=- |
