|
|
@ -579,7 +579,9 @@ Place your own snippets on =~/.cache/emacs/etc/yasnippet/snippets=
|
|
|
|
|
|
|
|
|
|
|
|
* company
|
|
|
|
* company
|
|
|
|
Autocompletion with [[https://company-mode.github.io/][company]]
|
|
|
|
Autocompletion with [[https://company-mode.github.io/][company]]
|
|
|
|
|
|
|
|
|
|
|
|
*Remember*: =company-lsp= is deprecated, don't use it.
|
|
|
|
*Remember*: =company-lsp= is deprecated, don't use it.
|
|
|
|
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(use-package company
|
|
|
|
(use-package company
|
|
|
|
:init
|
|
|
|
:init
|
|
|
@ -600,6 +602,7 @@ Autocompletion with [[https://company-mode.github.io/][company]]
|
|
|
|
|
|
|
|
|
|
|
|
** company-quickhelp
|
|
|
|
** company-quickhelp
|
|
|
|
In case you want popup help instead of status line help
|
|
|
|
In case you want popup help instead of status line help
|
|
|
|
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(use-package company-quickhelp
|
|
|
|
(use-package company-quickhelp
|
|
|
|
:config
|
|
|
|
:config
|
|
|
@ -619,10 +622,12 @@ Nice bullets for org-mode
|
|
|
|
#+end_src
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
** Fonts for org-mode
|
|
|
|
** Fonts for org-mode
|
|
|
|
Definimos una función que se encargará de:
|
|
|
|
This is only a defun will call later
|
|
|
|
- Establecer la fuente para org-mode (Cantarell)
|
|
|
|
|
|
|
|
- Establecer tamaños escalados para las cabeceras
|
|
|
|
This function:
|
|
|
|
- Establecer fuentes de ancho fijo para secciones de código en los ficheros =.org=
|
|
|
|
- Sets the =org-mode= font (Cantarell)
|
|
|
|
|
|
|
|
- Sets org-mode headers scaling (Headers sizes)
|
|
|
|
|
|
|
|
- Sets mono fonts for code sections in =.org= files
|
|
|
|
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(defun slv/org-font-setup ()
|
|
|
|
(defun slv/org-font-setup ()
|
|
|
@ -652,8 +657,10 @@ Definimos una función que se encargará de:
|
|
|
|
#+end_src
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
** Some additional tweaks for org-mode
|
|
|
|
** Some additional tweaks for org-mode
|
|
|
|
Añadimos algunos detalles a la visualización de org-mode
|
|
|
|
This is only a defun for settings additional details in =org-mode=
|
|
|
|
- Aumentamos el tamaño de la visualización de código LaTeX renderizado (usa =C-c C-x C-l= para conmutar la visualización)
|
|
|
|
|
|
|
|
|
|
|
|
- Make rendered LaTeX bigger (use =C-c C-x C-l= to swich the view mode)
|
|
|
|
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(defun slv/org-tweaks-setup ()
|
|
|
|
(defun slv/org-tweaks-setup ()
|
|
|
|
(plist-put org-format-latex-options :scale 2) ;; Increase size of LaTeX fragment previews
|
|
|
|
(plist-put org-format-latex-options :scale 2) ;; Increase size of LaTeX fragment previews
|
|
|
@ -666,8 +673,10 @@ Añadimos algunos detalles a la visualización de org-mode
|
|
|
|
#+end_src
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
* flycheck
|
|
|
|
* flycheck
|
|
|
|
You *must* use [[https://www.flycheck.org/en/latest/][flycheck]] if you use LSP. (Flymake + LSP is hell)
|
|
|
|
|
|
|
|
Syntax checking for programming languages
|
|
|
|
Syntax checking for programming languages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You *must* use [[https://www.flycheck.org/en/latest/][flycheck]] if you use LSP. (Flymake + LSP is hell)
|
|
|
|
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(use-package flycheck
|
|
|
|
(use-package flycheck
|
|
|
|
:config
|
|
|
|
:config
|
|
|
@ -680,6 +689,7 @@ Syntax checking for programming languages
|
|
|
|
|
|
|
|
|
|
|
|
* LSP
|
|
|
|
* LSP
|
|
|
|
We are using [[https://emacs-lsp.github.io/lsp-mode/][lsp-mode]] but keep an eye on [[https://github.com/joaotavora/eglot][eglot]] as an alternative.
|
|
|
|
We are using [[https://emacs-lsp.github.io/lsp-mode/][lsp-mode]] but keep an eye on [[https://github.com/joaotavora/eglot][eglot]] as an alternative.
|
|
|
|
|
|
|
|
|
|
|
|
**WARNING**: =lsp-company= is no longer supported
|
|
|
|
**WARNING**: =lsp-company= is no longer supported
|
|
|
|
|
|
|
|
|
|
|
|
Links to check
|
|
|
|
Links to check
|
|
|
@ -1019,7 +1029,8 @@ Usamos =pyenv= para gestionar los /virtualenv/
|
|
|
|
#+end_src
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
* ess (Emacs Speak Statistics)
|
|
|
|
* ess (Emacs Speak Statistics)
|
|
|
|
Necesitas tener R instalado en tu sistema, de lo contrario este paquete no tiene sentido.
|
|
|
|
You *must* have R installed in your system, otherwise this package is useless.
|
|
|
|
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(use-package ess
|
|
|
|
(use-package ess
|
|
|
|
:init (require 'ess-site))
|
|
|
|
:init (require 'ess-site))
|
|
|
|