Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(syntax): devdocs-lookup causes error 'wrong type characterp' (#255)
Why?: - When looking up some function documentation using devdocs-lookup, nim-syntax--raw-string-p errors out with the message 'wrong type charaterp'. Because point is at the beginning of the buffer, which makes pos = 1 and thus causes char-before to return nil, which then causes the error when calling char-syntax on nil. This change addresses the need by: - Add guarding when clause Co-authored-by: Tobias Heinlein <[email protected]>
- Loading branch information