nim-lang / nim-mode

An emacs major mode for the Nim programming language
137 stars 46 forks source link

org-element-at-point cannot be used in non-Org buffer #246

Closed cvanelteren closed 10 months ago

cvanelteren commented 11 months ago

After recent upgrade of my doom emacs I am experiencing this bug when activating nim-mode. Similar to https://github.com/alphapapa/org-web-tools/issues/56. Is there a plan in the works for a fix?

info ``` nim-mode 20211102.917 installed A major mode for the Nim programming language org 9.6.9 available gnu Outline-based notes management and organizer T ```
Vindaar commented 11 months ago

There's a fix already here: https://github.com/nim-lang/nim-mode/pull/245

I'll see about getting that merged. Feel free to check out that PR locally to see if it fixes the issue for you (I haven't done so yet).

Vindaar commented 10 months ago

This should hopefully be fixed with #245 merged. Feel free to reopen if the issue persists.