Some json stuff
This commit is contained in:
parent
5a3735644d
commit
44c3cde2c5
14
init.el
14
init.el
@ -1277,6 +1277,12 @@ With PROJECT, give diagnostics for all buffers in the current project."
|
||||
"--header-insertion=never" "--pch-storage=memory"
|
||||
"--function-arg-placeholders"
|
||||
"--compile-commands-dir=build"))))
|
||||
(use-package eglot-inactive-regions
|
||||
:custom
|
||||
(eglot-inactive-regions-style 'darken-foreground)
|
||||
(eglot-inactive-regions-opacity 0.4)
|
||||
:config
|
||||
(eglot-inactive-regions-mode 1))
|
||||
|
||||
;; LTeX (languagetool)
|
||||
(require 'ltex-eglot)
|
||||
@ -1779,10 +1785,16 @@ otherwise, call `bibtex-find-text'."
|
||||
|
||||
;; kdl
|
||||
(require 'kdl-ts-mode)
|
||||
(with-eval-after-load 'kdl-ts-mode
|
||||
(setq kdl-ts-mode-indent-offset 4))
|
||||
|
||||
;; json
|
||||
(use-package json-ts-mode
|
||||
:hook (json-ts-mode . trusted-files-eglot-ensure-if-safe))
|
||||
:hook (json-ts-mode . trusted-files-eglot-ensure-if-safe)
|
||||
:custom
|
||||
(json-ts-mode-indent-offset 4)
|
||||
:init
|
||||
(add-to-list 'auto-mode-alist '("\\.jsonc\\'" . json-ts-mode)))
|
||||
(use-package json-mode)
|
||||
|
||||
;; csv
|
||||
|
Loading…
x
Reference in New Issue
Block a user