tonsky / Clojure-Sublimed

Clojure support for Sublime Text 4
MIT License
371 stars 22 forks source link

Update cs_parser.py #90

Closed asakasinsky closed 1 year ago

asakasinsky commented 1 year ago

Without this imports I catch this error:

  File "/Users/X/Library/Application Support/Sublime Text/Packages/Clojure Sublimed/cs_conn.py", line 51, in eval
    region = cs_parser.topmost_form(view, region.begin())
  File "/Users/X/Library/Application Support/Sublime Text/Packages/Clojure Sublimed/cs_parser.py", line 405, in topmost_form
    if point >= view.size() or view.substr(sublime.Region(point, point + 1)).isspace():
NameError: name 'sublime' is not defined
tonsky commented 1 year ago

Fixed in f0ee03930df664f12fadbafca94c2e9a7e51f784