From aa87b80e911d7f9485d39aabad87e59542ac9690 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 9 Sep 2023 03:01:14 +0300 Subject: emacs(dev): Update bash skeleton & remove lsp --- .emacs.d/modules/thanos-dev.el | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to '.emacs.d/modules') 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) -- cgit v1.2.3