Add possibility to disable spellcheck
This commit is contained in:
parent
a8dc940b73
commit
d079caafa8
@ -346,8 +346,8 @@ class ConfigManager(QObject):
|
||||
DELETED_OPTIONS = [
|
||||
('colors', 'tab.separator'),
|
||||
('colors', 'tabs.separator'),
|
||||
('colors', 'tab.seperator'),
|
||||
('colors', 'tabs.seperator'),
|
||||
('colors', 'tab.seperator'), # pragma: no spellcheck
|
||||
('colors', 'tabs.seperator'), # pragma: no spellcheck
|
||||
('colors', 'completion.item.bg'),
|
||||
('tabs', 'indicator-space'),
|
||||
('tabs', 'hide-auto'),
|
||||
|
@ -112,7 +112,9 @@ def check_spelling():
|
||||
continue
|
||||
for line in f:
|
||||
for w in words:
|
||||
if re.search(w, line) and fn not in seen[w]:
|
||||
if (re.search(w, line) and
|
||||
fn not in seen[w] and
|
||||
'# pragma: no spellcheck' not in line):
|
||||
print('Found "{}" in {}!'.format(w, fn))
|
||||
seen[w].append(fn)
|
||||
ok = False
|
||||
|
Loading…
Reference in New Issue
Block a user