diff options
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/modules/thanos-dev.el | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/.emacs.d/modules/thanos-dev.el b/.emacs.d/modules/thanos-dev.el index 90c29f4..072c45b 100644 --- a/.emacs.d/modules/thanos-dev.el +++ b/.emacs.d/modules/thanos-dev.el @@ -87,8 +87,8 @@ ;; shell scripting (define-auto-insert '("\\.sh\\'" . "Bash skeleton") - '("Description:" \n - "#!/bin/bash")) + '("Description:" + "#!/bin/bash\n\n")) (add-hook 'shell-script-mode #'auto-insert) @@ -110,24 +110,7 @@ ;; Scheme (add-hook 'scheme-mode-hook #'rainbow-delimiters-mode) -;; LSP config -(defun thanos/lsp-mode-setup () - (setf lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)) - (lsp-headerline-breadcrumb-mode)) - -(require 'lsp-mode) -(add-hook 'lsp-mode #'thanos/lsp-mode-setup) -(setf lsp-keymap-prefix "C-c l") -(lsp-enable-which-key-integration t) - -(require 'lsp-ui) -(add-hook 'lsp-mode 'lsp-ui-mode) -(setf lsp-ui-doc-position 'bottom) - -;;; Python -;; set pylsp with lsp-mode -(setf lsp-pyls-server-command "~/usr/bin/pylsp") - +;; Python (require 'python-mode) (add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode)) (add-hook 'python-mode #'eglot) |