aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-06-02 09:40:55 -0400
committerJames McCoy <jamessan@jamessan.com>2016-06-02 10:28:46 -0400
commit1b6681e07340a281f2f0dfe5c5d7541af6c1e257 (patch)
tree7792a6b0a2f26f814a7354650047fdd5bda4daf2 /src/nvim/buffer.c
parent634d59f6461953eae6befa72c909d68ac621a39b (diff)
downloadrneovim-1b6681e07340a281f2f0dfe5c5d7541af6c1e257.tar.gz
rneovim-1b6681e07340a281f2f0dfe5c5d7541af6c1e257.tar.bz2
rneovim-1b6681e07340a281f2f0dfe5c5d7541af6c1e257.zip
vim-patch:7.4.1142
Problem: Cannot define keyword characters for a syntax file. Solution: Add the ":syn iskeyword" command. (Christian Brabandt) https://github.com/vim/vim/commit/b8060fe862f684b591f9ac679eac5b2594d6c5a0
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index a1f2439e0a..71ec20c788 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -1534,6 +1534,7 @@ void free_buf_options(buf_T *buf, int free_p_ff)
clear_string_option(&buf->b_p_cms);
clear_string_option(&buf->b_p_nf);
clear_string_option(&buf->b_p_syn);
+ clear_string_option(&buf->b_s.b_syn_isk);
clear_string_option(&buf->b_s.b_p_spc);
clear_string_option(&buf->b_s.b_p_spf);
vim_regfree(buf->b_s.b_cap_prog);