feat: emacs - disable doom's builtin go-mode, use lsp-bridge instead

This commit is contained in:
Ryan Yin
2024-01-06 22:05:03 +08:00
parent 707192cf81
commit f9a650f352
2 changed files with 3 additions and 10 deletions

View File

@@ -31,7 +31,7 @@
(defun init-cjk-fonts() (defun init-cjk-fonts()
(dolist (charset '(kana han cjk-misc bopomofo)) (dolist (charset '(kana han cjk-misc bopomofo))
(set-fontset-font (frame-parameter nil 'font) (set-fontset-font (frame-parameter nil 'font)
charset (font-spec :family "Source Han Sans SC")))) charset (font-spec :family "Source Han Sans SC"))))
(add-hook 'after-setting-font-hook 'init-cjk-fonts) (add-hook 'after-setting-font-hook 'init-cjk-fonts)
@@ -45,7 +45,7 @@
;; `load-theme' function. This is the default: ;; `load-theme' function. This is the default:
;; other doom's official themes: ;; other doom's official themes:
;; https://github.com/doomemacs/themes ;; https://github.com/doomemacs/themes
(setq doom-theme 'doom-one) (setq doom-theme 'doom-dracula) ;; doom-one doom-dracula doom-nord
;; This determines the style of line numbers in effect. If set to `nil', line ;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'. ;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t) (setq display-line-numbers-type t)
@@ -149,10 +149,3 @@
(add-hook 'fennel-mode-hook #'turn-off-smartparens-mode) (add-hook 'fennel-mode-hook #'turn-off-smartparens-mode)
(add-hook 'hy-mode-hook #'turn-off-smartparens-mode) (add-hook 'hy-mode-hook #'turn-off-smartparens-mode)

View File

@@ -138,7 +138,7 @@
;;fsharp ; ML stands for Microsoft's Language ;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3 ;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for ;;gdscript ; the language you waited for
(go +tree-sitter) ;; (go +tree-sitter) ;; disable go-mode, use lsp-bridge instead
; the hipster dialect ; the hipster dialect
;;(graphql) ; Give queries a REST ;;(graphql) ; Give queries a REST
;;(haskell) ; a language that's lazier than I am ;;(haskell) ; a language that's lazier than I am