formatting improvements
This commit is contained in:
parent
b25a90efbc
commit
96dad8d803
2 changed files with 20 additions and 2 deletions
|
@ -6,6 +6,9 @@ return {
|
|||
|
||||
-- Additional lua configuration, makes nvim stuff amazing
|
||||
"folke/neodev.nvim",
|
||||
|
||||
-- schemas for json and yaml files
|
||||
"b0o/schemastore.nvim",
|
||||
},
|
||||
config = function()
|
||||
-- LSP settings.
|
||||
|
@ -70,7 +73,22 @@ return {
|
|||
},
|
||||
html = {},
|
||||
jqls = {},
|
||||
jsonls = {},
|
||||
jsonls = {
|
||||
json = {
|
||||
format = {
|
||||
enable = true,
|
||||
},
|
||||
schemas = require("schemastore").json.schemas(),
|
||||
validate = true,
|
||||
},
|
||||
},
|
||||
pyright = {
|
||||
analysis = {
|
||||
autoSearchPaths = true,
|
||||
diagnosticMode = "workspace",
|
||||
useLibraryCodeForTypes = true,
|
||||
},
|
||||
},
|
||||
marksman = {},
|
||||
nil_ls = {},
|
||||
nixd = {},
|
||||
|
|
|
@ -58,7 +58,7 @@ return {
|
|||
auto_install = true,
|
||||
|
||||
highlight = { enable = true },
|
||||
indent = { enable = false },
|
||||
indent = { enable = true },
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
|
|
Loading…
Reference in a new issue