Last active
August 29, 2015 14:16
-
-
Save flavioc/dc903794edb3cf851477 to your computer and use it in GitHub Desktop.
Complete lisp identifiers with YouCompleteMe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ycmd/identifier_utils.py b/ycmd/identifier_utils.py | |
index 92b5ea8..e1cb29c 100644 | |
--- a/ycmd/identifier_utils.py | |
+++ b/ycmd/identifier_utils.py | |
@@ -70,6 +70,8 @@ FILETYPE_TO_IDENTIFIER_REGEX = { | |
r"[-\*\+!_\?:\.a-zA-Z][-\*\+!_\?:\.\w]*/?[-\*\+!_\?:\.\w]*", | |
re.UNICODE ), | |
+ 'lisp': re.compile(r"[\_\#\:\/\<\%\.\?\&\*\+\w][^\s\)]*", re.UNICODE), | |
+ | |
# Spec: http://www.haskell.org/onlinereport/lexemes.html | |
# Section 2.4 | |
'haskell': re.compile( r"[_a-zA-Z][\w']*", re.UNICODE ), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment