Skip to content

Commit

Permalink
Allow for pragma skips and ignore generally annotated shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic authored and hluk committed Jan 10, 2024
1 parent 96888b6 commit a029e13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
[codespell]
skip = .git,*.pdf,*.svg,go.sum,*.css,.codespellrc,translations
check-hidden = true
# ignore translations, names, etc
ignore-regex = (Comment|GenericName)\[.*|\bSimon Ser\b|DoubleClick|{0xf.*, (true|false),.*|\b\S+&\S+\b
# ignore translations, names, Some&annotations, etc
ignore-regex = (Comment|GenericName)\[.*|\bSimon Ser\b|DoubleClick|{0xf.*, (true|false),.*|\b\S+&(amp;)?\S+\b|.*codespell-ignore.*
# ignore-words-list =
2 changes: 1 addition & 1 deletion plugins/itemfakevim/fakevim/fakevimactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ FakeVimSettings::FakeVimSettings()
setup(&isKeyword, "@,48-57,_,192-255,a-z,A-Z",
"IsKeyword", "isk", tr("Keyword characters:"));
setup(&clipboard, {}, "Clipboard", "cb", tr(""));
setup(&formatOptions, {}, "formatoptions", "fo", tr(""));
setup(&formatOptions, {}, "formatoptions", "fo", tr("")); // pragma: codespell-ignore

// Emulated plugins
setup(&emulateVimCommentary, false, "commentary", {}, "vim-commentary");
Expand Down

0 comments on commit a029e13

Please sign in to comment.