Skip to content

Commit

Permalink
Merge pull request #36 from mmlb/master
Browse files Browse the repository at this point in the history
allow non ascii chars according to go spec
  • Loading branch information
zchee committed Feb 9, 2016
2 parents 56bb760 + 38a87de commit 1df2aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rplugin/python3/deoplete/sources/go.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, vim):
self.name = 'go'
self.mark = '[go]'
self.filetypes = ['go']
self.input_pattern = r'(?:[a-zA-Z_]\w*|[\]\)])\.(?:[a-zA-Z_]\w*)?'
self.input_pattern = r'(?:\b[^\W\d]\w*|[\]\)])\.(?:[^\W\d]\w*)?'
self.rank = 500

self.align_class = self.vim.vars['deoplete#sources#go#align_class']
Expand Down

0 comments on commit 1df2aa3

Please sign in to comment.