Closed dogezen closed 1 month ago
Hey! Thanks for the contribution! This fix shouldn't be necessary as the plugin only sets a keymap for the markdown
filetype.
So if you're seeing problems in other filetypes, something unexpected seems to be happening. Can you copy over the errors you're getting? Thanks!
Hello, I was getting several errors / crashes with the script when pressing
<cr>
in text-based buffers (like a.txt
or.tex
buffer). So I thought of adding a check to confirm that the current buffer is of typemarkdown
whenfollow_link
is called in order to avoid calling it for non-markdown buffers.I am an absolute beginner with lua plugins and especially for neovim, so if this is redundant do let me know