From 5d6be50000614a7834b39c4a0bea6f12b5de4bc5 Mon Sep 17 00:00:00 2001 From: eidheim Date: Fri, 18 May 2018 13:45:08 +0200 Subject: [PATCH] Spellcheck context fix for cmake files --- src/source.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source.cc b/src/source.cc index 9b770af..edaf097 100644 --- a/src/source.cc +++ b/src/source.cc @@ -2928,7 +2928,7 @@ Source::GenericView::GenericView(const boost::filesystem::path &file_path, Glib: } bool has_context_class=false; parse_language_file(completion_buffer_keywords, has_context_class, pt); - if(!has_context_class) + if(!has_context_class || language->get_id()=="cmake") // TODO: no longer use the spellcheck_all flag spellcheck_all=false; completion_words->register_provider(completion_buffer_keywords); }