Compare commits

...

3 Commits

Author SHA1 Message Date
kj
ee4c9c351f LSP improvements.
- Disconnect from flycheck: I finded that it hangs with lsp (checked
with profiler-start/stop/report) and freeze emacs for a few seconsand
other errors apears like bad syntax highlighting.
- Re-enable lsp with prog-mode.
- Enable automatic project root detection vía
projectile (lsp-auto-guess-root).
- Lsp idle delay changed to 0.5 (default value).
2022-06-27 16:02:41 -04:00
kj
d8f91e3dac Change dashboard agenda to daily and also show the time of the task. 2022-06-27 16:01:08 -04:00
kj
88c8049a6f Add org-autolist. 2022-06-27 16:00:04 -04:00
3 changed files with 18 additions and 8 deletions

View File

@ -28,9 +28,11 @@
:straight t
:hook (after-init . dashboard-setup-startup-hook)
:config
(setq dashboard-set-file-icons t)
(setq dashboard-set-heading-icons t)
(setq dashboard-set-file-icons t)
(setq dashboard-set-file-icons t
dashboard-set-heading-icons t
dashboard-set-file-icons t
dashboard-week-agenda nil
dashboard-agenda-time-string-format "%Y-%m-%d %H:%M")
(setq dashboard-startup-banner
(expand-file-name "duck-small.png" user-emacs-directory))
(setq dashboard-items '(

View File

@ -20,9 +20,10 @@
lsp-format-buffer
lsp-organize-imports
lsp-install-server)
:hook ((markdown-mode . lsp-deferred)
(js-mode . lsp-deferred)
(php-mode . lsp-deferred)
:hook ((prog-mode . (lambda ()
(unless (derived-mode-p 'emacs-lisp-mode 'lisp-mode 'makefile-mode)
(lsp-deferred))))
(markdown-mode . lsp-deferred)
(lsp-mode . lsp-enable-which-key-integration))
:custom
(lsp-headerline-breadcrumb-enable nil)
@ -39,9 +40,11 @@
lsp-enable-symbol-highlighting nil
lsp-enable-text-document-color nil
lsp-lens-enable nil
lsp-auto-guess-root t
lsp-log-io nil
lsp-idle-delay 1
lsp-idle-delay 0.5
lsp-diagnostic-package :none ; Evitar que lsp conecte con flycheck para evitar que se congele
lsp-enable-indentation nil
lsp-enable-on-type-formatting nil)

View File

@ -110,7 +110,7 @@
(advice-add 'org-refile :after 'org-save-all-org-buffers)
(setq org-capture-templates
`(("t" "Tareas / Projectos")
`(("t" "Tareas")
("tt" "Tareas" entry (file+olp "~/Documentos/ORG/Agenda/Tareas.org")
"* TODO %? \n %a\n %i" :empty-lines 1)
("i" "Ideas")
@ -164,5 +164,10 @@
org-roam-ui-update-on-save t
org-roam-ui-open-on-start t))
(use-package org-autolist
:straight t
:ensure t
:hook (org-mode . org-autolist-mode))
(provide 'base-org)
;;; base-org.el ends here