We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f6f97d commit e07df0bCopy full SHA for e07df0b
lib/main.js
@@ -5,7 +5,7 @@ const { AutoLanguageClient } = require("atom-languageclient");
5
6
// Ref: https://github.com/nteract/hydrogen/blob/master/lib/autocomplete-provider.js#L33
7
// adapted from http://stackoverflow.com/q/5474008
8
-const PYTHON_REGEX = /([^\d\W]|[\u00A0-\uFFFF])[\w.\u00A0-\uFFFF]*$/;
+const PYTHON_REGEX = /(([^\d\W]|[\u00A0-\uFFFF])[\w.\u00A0-\uFFFF]*)|\.$/;
9
10
class PythonLanguageClient extends AutoLanguageClient {
11
getGrammarScopes() {
0 commit comments