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