Add :lang json module
Removes json-mode from :lang data and adds LSP support (#2502).
This commit is contained in:
parent
2d766cfa0c
commit
b151abfd34
7 changed files with 61 additions and 6 deletions
|
@ -34,11 +34,6 @@
|
|||
:mode "\\.gql\\'"
|
||||
:config (setq-hook! 'graphql-mode-hook tab-width graphql-indent-level))
|
||||
|
||||
(use-package! json-mode
|
||||
:mode "\\.js\\(?:on\\|[hl]int\\(?:rc\\)?\\)\\'"
|
||||
:config
|
||||
(set-electric! 'json-mode :chars '(?\n ?: ?{ ?})))
|
||||
|
||||
(after! jsonnet-mode
|
||||
(set-electric! 'jsonnet-mode :chars '(?\n ?: ?{ ?})))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue