mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -05:00
Template for hidpi, disable tramp, finally fix indenting
This commit is contained in:
parent
7ea4db0b6b
commit
27fe8763da
1 changed files with 48 additions and 38 deletions
|
@ -142,9 +142,9 @@
|
|||
(savehist-mode))
|
||||
|
||||
;; SSH
|
||||
(use-package tramp
|
||||
:config
|
||||
(setq tramp-default-method "ssh"))
|
||||
;; (use-package tramp
|
||||
;; :config
|
||||
;; (setq tramp-default-method "ssh"))
|
||||
|
||||
;; Completion with vertico/consult
|
||||
(use-package vertico
|
||||
|
@ -422,10 +422,16 @@
|
|||
;:hook
|
||||
;(org-mode . mixed-pitch-mode)
|
||||
:config
|
||||
{{- if eq .chezmoi.hostname "helix"}}
|
||||
(set-face-attribute 'default nil :font "Hack" :height 180)
|
||||
(set-face-attribute 'fixed-pitch nil :font "Hack" :height 180)
|
||||
(set-face-attribute 'variable-pitch nil :font "DejaVu Sans" :height 200))
|
||||
{{- else }}
|
||||
(set-face-attribute 'default nil :font "Hack" :height 90)
|
||||
(set-face-attribute 'fixed-pitch nil :font "Hack" :height 90)
|
||||
(set-face-attribute 'variable-pitch nil :font "DejaVu Sans" :height 100))
|
||||
;(add-hook 'mixed-pitch-mode-hook #'solaire-mode-reset)
|
||||
{{- end }}
|
||||
;(add-hook 'mixed-pitch-mode-hook #'solaire-mode-reset)
|
||||
|
||||
;; Icons
|
||||
(use-package all-the-icons)
|
||||
|
@ -528,10 +534,10 @@
|
|||
;; (lsp-rust-analyzer-display-reborrow-hints nil)
|
||||
:config
|
||||
(setq lsp-prefer-flymake nil)) ; prefer lsp-ui (flycheck) to flymake
|
||||
; (setq lsp-disabled-clients '(clangd))) ; prefer ccls to clangd
|
||||
; :bind
|
||||
; (:map lsp-mode-map
|
||||
; ("TAB" . completion-at-point)))
|
||||
; (setq lsp-disabled-clients '(clangd))) ; prefer ccls to clangd
|
||||
; :bind
|
||||
; (:map lsp-mode-map
|
||||
; ("TAB" . completion-at-point)))
|
||||
|
||||
(use-package lsp-ui
|
||||
:requires lsp-mode flycheck
|
||||
|
@ -692,8 +698,8 @@
|
|||
:bind ("C-c C-n" . jsdoc))
|
||||
|
||||
;; LaTeX
|
||||
;(use-package lsp-latex)
|
||||
;'(setq lsp-tex-server 'digestif)
|
||||
;(use-package lsp-latex)
|
||||
;'(setq lsp-tex-server 'digestif)
|
||||
|
||||
;; OpenGL / GLSL
|
||||
(use-package glsl-mode)
|
||||
|
@ -742,13 +748,13 @@
|
|||
("C-c C-c e" . lsp-rust-analyzer-expand-macro)
|
||||
("C-c C-c d" . dap-hydra)
|
||||
("C-c C-c h" . lsp-ui-doc-glance)))
|
||||
;; :config
|
||||
;; uncomment for less flashiness
|
||||
;; (setq lsp-eldoc-hook nil)
|
||||
;; (setq lsp-enable-symbol-highlighting nil)
|
||||
;; (setq lsp-signature-auto-activate nil)
|
||||
;; :config
|
||||
;; uncomment for less flashiness
|
||||
;; (setq lsp-eldoc-hook nil)
|
||||
;; (setq lsp-enable-symbol-highlighting nil)
|
||||
;; (setq lsp-signature-auto-activate nil)
|
||||
|
||||
;; comment to disable rustfmt on save
|
||||
;; comment to disable rustfmt on save
|
||||
;; (add-hook 'rustic-mode-hook 'rk/rustic-mode-hook))
|
||||
|
||||
;; (defun rk/rustic-mode-hook ()
|
||||
|
@ -771,6 +777,10 @@
|
|||
(make-lsp-client
|
||||
:new-connection (lsp-stdio-connection "/usr/bin/zls")
|
||||
:major-modes '(zig-mode)
|
||||
:server-id 'zls)))
|
||||
:server-id 'zls))
|
||||
:hook
|
||||
(zig-mode . (lambda ()
|
||||
(setq-local fill-column 100)
|
||||
(setq-local tab-width 4))))
|
||||
|
||||
;;; End init.el
|
Loading…
Reference in a new issue