zk-org / zk-nvim

Neovim extension for zk
https://github.com/zk-org/zk
GNU General Public License v3.0
502 stars 40 forks source link

fix: escape special characters in path #118

Closed dstanberry closed 1 year ago

dstanberry commented 1 year ago

This is copied from lua/lspconfig/util.lua in nvim-lspconfig. The root_pattern lookup will fail when the path contains certain special characters.

Fixes the issue discussed in #2111