Emacs changes
This commit is contained in:
parent
23306e0379
commit
952b443d10
5 changed files with 12 additions and 10 deletions
|
@ -82,8 +82,10 @@
|
|||
;; Autocomplete
|
||||
(use-package company
|
||||
:diminish (company-mode)
|
||||
:defer t
|
||||
:config (global-company-mode)
|
||||
:hook ((text-mode prog-mode) . company-mode)
|
||||
:custom
|
||||
(company-dabbrev-downcase nil "Don't downcase completions")
|
||||
(company-dabbrev-ignore-case t "Change full casing of completion if completion has different case")
|
||||
)
|
||||
|
||||
;; Prescient in company
|
||||
|
@ -144,9 +146,8 @@
|
|||
|
||||
;; Linting
|
||||
(use-package flycheck
|
||||
:defer t
|
||||
:hook ((text-mode prog-mode) . flycheck-mode)
|
||||
:diminish (flycheck-mode)
|
||||
:config (global-flycheck-mode)
|
||||
)
|
||||
|
||||
;; Annotations in selection interface
|
||||
|
|
|
@ -69,7 +69,6 @@ in
|
|||
] ++ lib.optional config.chvp.base.nix.enableDirenv ''
|
||||
;; Direnv integration in emacs.
|
||||
(use-package direnv
|
||||
:defer t
|
||||
:config (direnv-mode)
|
||||
)
|
||||
'';
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
''
|
||||
;; Editorconfig
|
||||
(use-package editorconfig
|
||||
:defer t
|
||||
:diminish (editorconfig-mode)
|
||||
:custom (editorconfig-get-properties-function 'editorconfig-get-properties)
|
||||
:config (editorconfig-mode 1)
|
||||
|
@ -28,6 +27,10 @@
|
|||
(use-package lsp-mode
|
||||
:commands (lsp lsp-deferred)
|
||||
:config (lsp-enable-which-key-integration t)
|
||||
:general
|
||||
(lmap lsp-mode-map
|
||||
"SPC" '(:keymap lsp-command-map)
|
||||
)
|
||||
)
|
||||
|
||||
;; Markdown syntax support
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
''
|
||||
(use-package auth-source-pass
|
||||
:ensure nil
|
||||
:defer t
|
||||
:custom
|
||||
(auth-sources '(password-store))
|
||||
(auth-source-pass-filename "${config.home-manager.users.charlotte.programs.password-store.settings.PASSWORD_STORE_DIR}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue