mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(deps): upgrade packages tweak config for lsp-mode changes
Minor changes were needed due to recent lsp-mode changes. My custom the bufls and golangci-lint clients are now part of lsp-mode. Also, within Ruby buffers I need to disable the vue-semantic-server client, as that seems to take priority over Ruby clients in Rails projects that use Vue.
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
(golines-format-buffer)))
|
||||
|
||||
(use-package lsp-golangci-lint
|
||||
:straight (:type built-in) ;; from vendor directory
|
||||
:straight lsp-mode
|
||||
:custom
|
||||
(lsp-golangci-lint-server-debug nil))
|
||||
|
||||
|
||||
@@ -64,8 +64,7 @@ See URL `https://github.com/bufbuild/buf'."
|
||||
(add-to-list 'flycheck-checkers 'protobuf-buf))
|
||||
|
||||
(use-package lsp-bufls
|
||||
;; from vendor directory
|
||||
:straight (:type built-in))
|
||||
:straight lsp-mode)
|
||||
|
||||
(provide 'siren-protobuf)
|
||||
;;; siren-protobuf.el ends here
|
||||
|
||||
@@ -103,6 +103,7 @@
|
||||
|
||||
:preface
|
||||
(defun siren-lsp-ruby-mode-setup ()
|
||||
(setq-local lsp-disabled-clients '(vue-semantic-server))
|
||||
(setq-local siren-lsp-manual-format-buffer-func
|
||||
'siren-lsp-ruby-manual-format-buffer)
|
||||
(lsp-format-buffer-on-save-mode t)
|
||||
|
||||
Reference in New Issue
Block a user