Skip to content

Commit

Permalink
disable fennel lsp once again
Browse files Browse the repository at this point in the history
  • Loading branch information
fedemengo committed Oct 3, 2023
1 parent b29f8fe commit f7337c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
18 changes: 9 additions & 9 deletions fnl/mods/lsp/lsp.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

(mason.setup)
(masonlsp.setup {:ensure_installed [:gopls
:fennel_language_server
;:fennel_language_server
:clangd
:bashls
:dockerls
Expand Down Expand Up @@ -111,14 +111,14 @@
:staticcheck true
:usePlaceholders true}}}
:lua_ls {:settings {:Lua {:diagnostics {:globals [:vim]}}}}
:fennel_language_server {:default_config {:cmd [:$HOME/.local/bin/fennel-language-server]
:filetypes [:fennel]
:single_file_support true
:root_dir (lsputil.root_pattern :fnl)
:settings {:fennel {:workspace {:library (vim.api.nvim_list_runtime_paths)}
:diagnostics {:globals [:vim
:module
:autoload]}}}}}
;:fennel_language_server {:default_config {:cmd [:$HOME/.local/bin/fennel-language-server]
; :filetypes [:fennel]
; :single_file_support true
; :root_dir (lsputil.root_pattern :fnl)
; :settings {:fennel {:workspace {:library (vim.api.nvim_list_runtime_paths)}
; :diagnostics {:globals [:vim
; :module
; :autoload]}}}}}
:pylsp {:settings {:pylsp {:plugins {:pycodestyle {:enable true
:ignore [;; expected 2 blank lines, found 1
:E302
Expand Down
3 changes: 1 addition & 2 deletions fnl/mods/tools/telescope.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@
(map [:n] :gr themed_bufnr_lsp_refs {:desc "References [LSP]"})
(map [:n] :gd themed_bufnr_lsp_defs {:desc "Definitions [LSP]"})
(map [:n] :fd (bindf builtin.diagnostics ivy_config) {:desc :Diagnostics})
(map [:n] :fe (bindf (bindf builtin.diagnostics {:severity_bound :ERROR :prompt_title "Workspace Errors"}) ivy_config)
{:desc "Diagnostics [ERR]"})
(map [:n] :fe (bindf builtin.diagnostics (merge-table {:severity_bound :ERROR :prompt_title "Workspace Errors"} (deep-copy ivy_config))) {:desc "Diagnostics [ERR]"})

(var pickers (require :telescope.pickers))
(var finders (require :telescope.finders))
Expand Down

0 comments on commit f7337c6

Please sign in to comment.