include hammerspoon globals in fennel linter

pull/2/head
Alpha Chen 3 years ago
parent 67d1e4e733
commit ec57c34ea4

@ -89,7 +89,7 @@
{:fennel fennel-linter} linters
{: nvim_create_autocmd} vim.api]
(tset linters-by-ft :fennel [:fennel])
(tset fennel-linter :globals [:vim]) ; hack
(tset fennel-linter :globals [:vim :hs :spoon]) ; hack for neovim and hammerspoon
(nvim_create_autocmd :BufWritePost {:callback #(try-lint)}))
;;; lspconfig

Loading…
Cancel
Save