Compare commits
2 Commits
3f7fc4ec29
...
cddf20683e
Author | SHA1 | Date | |
---|---|---|---|
cddf20683e | |||
8d430b9d3c |
@ -292,15 +292,17 @@
|
||||
;; Terminal
|
||||
(use-package vterm :ensure t :defer t :straight t)
|
||||
|
||||
(use-package multi-web-mode
|
||||
(use-package web-mode
|
||||
:straight t
|
||||
:defer t
|
||||
:config
|
||||
(setq mweb-default-major-mode 'html-mode)
|
||||
(setq mweb-tags '((php-mode "<\\?php\\|<\\? \\|<\\?=" "\\?>")
|
||||
(js-mode "<script +\\(type=\"text/javascript\"\\|language=\"javascript\"\\)[^>]*>" "</script>")
|
||||
(css-mode "<style +type=\"text/css\"[^>]*>" "</style>")))
|
||||
(setq mweb-filename-extensions '("php" "htm" "html")))
|
||||
(setq web-mode-markup-indent-offset 2
|
||||
web-mode-css-indent-offset 2
|
||||
web-mode-code-indent-offset 2
|
||||
web-mode-enable-current-element-highlight t
|
||||
web-mode-enable-current-column-highlight t)
|
||||
|
||||
)
|
||||
|
||||
;; Cuando iniicias un atajo de teclas te muestra las posibilidades
|
||||
(use-package which-key
|
||||
|
@ -26,7 +26,7 @@
|
||||
(global-set-key (kbd "C-x mj") 'js-mode)
|
||||
(global-set-key (kbd "C-x mp") 'php-mode)
|
||||
(global-set-key (kbd "C-x mr") 'rust-mode)
|
||||
(global-set-key (kbd "C-x mw") 'multi-web-mode)
|
||||
(global-set-key (kbd "C-x mw") 'web-mode)
|
||||
|
||||
;; Atajos de windmove
|
||||
(global-set-key (kbd "C-x <left>") 'windmove-left)
|
||||
|
@ -57,6 +57,7 @@
|
||||
;; Remove php extension on form lsp
|
||||
(setq lsp-language-id-configuration
|
||||
(remove '(".*\\.php$" . "php") lsp-language-id-configuration))
|
||||
(add-to-list 'lsp-language-id-configuration '(web-mode . "php"))
|
||||
|
||||
;; Disable `lsp-mode' in `git-timemachine-mode'
|
||||
(defun my-lsp--init-if-visible (fn &rest args)
|
||||
|
@ -47,7 +47,7 @@
|
||||
(setq company-dabbrev-ignore-case nil) ; Hacer el autocompletado case-sensitive.
|
||||
(setq org-ellipsis " ▾")
|
||||
(setq org-hide-emphasis-markers t)
|
||||
(setq org-startup-folded 'content)
|
||||
;;(setq org-startup-folded 'content)
|
||||
|
||||
(setq org-agenda-start-with-log-mode t)
|
||||
(setq org-log-done 'time)
|
||||
|
Loading…
Reference in New Issue
Block a user