Skip to content

Commit

Permalink
Work around annoying auto inserting of auto_complete values, and mino…
Browse files Browse the repository at this point in the history
…r tweaks
  • Loading branch information
ruby0x1 committed Sep 26, 2014
1 parent 574cde3 commit c4c5ca7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Haxe.sublime-settings
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"auto_complete_selectors": "source - (string, comment, keyword.control.directive.conditional.haxe)",
"auto_complete_triggers": [
{"selector": "source.haxe", "characters": "."},
{"selector": "source.haxe", "characters": "("}
{"selector": "source.haxe", "characters": "."}
]
}
4 changes: 2 additions & 2 deletions flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ def save_file_for_completion( self, view, fname ):
f.write( code )
f.close()

print("saved file for completion")
print("[flow] saved file for completion")

def restore_file_post_completion( self ):

print("restore file post completion")
print("[flow] restore file post completion")

view = self.completion_view
fname = self.completion_file
Expand Down
3 changes: 3 additions & 0 deletions haxe_parse_completion_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ def parse_type(_type):

result.append((_name+'\t'+_typename, _name))

if(len(result) == 1):
result.append(('\t-',' '))

return result

#returns True if the string is completion info for a function
Expand Down

0 comments on commit c4c5ca7

Please sign in to comment.