Compare commits
3 Commits
715fcdad4e
...
a094c797e8
| Author | SHA1 | Date | |
|---|---|---|---|
| a094c797e8 | |||
| b5d2f0b0a0 | |||
| 0344b791ba |
@@ -29,12 +29,12 @@
|
||||
:diminish
|
||||
:autoload aggressive-indent-mode
|
||||
:functions too-long-file-p
|
||||
:hook ((elpaca-after-init . global-aggressive-indent-mode)
|
||||
;; NOTE: Disable in large files due to the performance issues
|
||||
;; https://github.com/Malabarba/aggressive-indent-mode/issues/73
|
||||
(find-file . (lambda ()
|
||||
(when (too-long-file-p)
|
||||
(aggressive-indent-mode -1)))))
|
||||
;; :hook ((elpaca-after-init . global-aggressive-indent-mode)
|
||||
;; ;; NOTE: Disable in large files due to the performance issues
|
||||
;; ;; https://github.com/Malabarba/aggressive-indent-mode/issues/73
|
||||
;; (find-file . (lambda ()
|
||||
;; (when (too-long-file-p)
|
||||
;; (aggressive-indent-mode -1)))))
|
||||
:config
|
||||
;; Disable in some modes
|
||||
(dolist (mode '(gitconfig-mode
|
||||
|
||||
@@ -44,7 +44,10 @@
|
||||
eglot-send-changes-idle-time 0.5)
|
||||
:config
|
||||
(setq eglot-sync-connect 0)
|
||||
(add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs '(php-mode . ("rass" "--" "phpactor" "language-server" "--" "intelephense" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs '(web-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs '(html-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio")))
|
||||
(add-to-list 'eglot-server-programs '(nhtml-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio")))
|
||||
(add-to-list 'eglot-ignored-server-capabilities :inlayHintProvider)
|
||||
)
|
||||
|
||||
|
||||
@@ -50,12 +50,6 @@
|
||||
:map minibuffer-local-map
|
||||
("<escape>" . minibuffer-keyboard-quit) ;; Cacelar minibuffer con escape (más rápido que C-g)
|
||||
("C-<return>" . newline) ;; Insertar nueva línea estando en el minibufer (Mas rápido que C-q C-j)
|
||||
("C-S-s" . (lambda ()
|
||||
"Insert the current symbol."
|
||||
(interactive)
|
||||
(insert (save-excursion
|
||||
(set-buffer (window-buffer (minibuffer-selected-window)))
|
||||
(or (thing-at-point 'symbol t) ""))))) ;; Al presionar por segunda ves C-s busca el símbolo actual.
|
||||
)
|
||||
|
||||
;; Enable automatic preview at point in the *Completions* buffer. This is
|
||||
|
||||
Reference in New Issue
Block a user