Skip to content

Commit 81a4f6e

Browse files
authored
Merge pull request python-mode#927 from zhimsel/dot_hi_fix
Remove pythonDot highlight match The main reason for this PR is that `pythonDot` highlight group seemed entirely pointless. All it does is drop the highlighting for any `.` characters to `Normal`. This doesn't seem to be expected or desired behavior (the `.` should match the surrounding highlight).
2 parents d0d6cdf + 263775a commit 81a4f6e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ Contributors:
7373
* Wes Turner (https://github.com/westurner);
7474
* Yury A. Kartynnik (https://github.com/kartynnik);
7575
* Xiangyu Xu (https://github.com/bkbncn);
76+
* Zach Himsel (https://github.com/zhimsel);

syntax/python.vim

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ endif
129129

130130
syn match pythonDecorator "@" display nextgroup=pythonDottedName skipwhite
131131
syn match pythonDottedName "[a-zA-Z_][a-zA-Z0-9_]*\(\.[a-zA-Z_][a-zA-Z0-9_]*\)*" display contained
132-
syn match pythonDot "\." display containedin=pythonDottedName
133132

134133
" }}}
135134

@@ -355,7 +354,6 @@ endif
355354

356355
hi def link pythonDecorator Define
357356
hi def link pythonDottedName Function
358-
hi def link pythonDot Normal
359357

360358
hi def link pythonComment Comment
361359
hi def link pythonCoding Special

0 commit comments

Comments
 (0)