diff options
author | Thanos Apollo <[email protected]> | 2023-09-09 03:01:14 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-09-09 03:01:14 +0300 |
commit | aa87b80e911d7f9485d39aabad87e59542ac9690 (patch) | |
tree | fdaf4be7e5bee6b267f9b99d193c998932d498a3 /.emacs.d/modules | |
parent | 1e1dde2af1cfbb8f1e0b6580a7b11aa4af638045 (diff) |
emacs(dev): Update bash skeleton & remove lsp
Diffstat (limited to '.emacs.d/modules')
-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) |