Avoid spellchecking the `f` in an `f-string` · edlanglois/python-syntax@50f1c25 · GitHub
Skip to content

Commit 50f1c25

Browse files
m-zatelanglois-sai
authored andcommitted
Avoid spellchecking the f in an f-string
Before this commit the spellchecker highlights everything in the following: f'correct word' ^^^^^^^^^ f'wierd word' ^^^^^^^ By adding the `matchgroup` directive, the start and end of the region are not considered when spellchecking. The examples become: f'correct word' f'weird word' ^^^^^
1 parent dcb3e71 commit 50f1c25

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎syntax/python.vim‎

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)