formatting improvements

This commit is contained in:
Salar Rahmanian 2024-09-21 20:11:13 -07:00
parent b25a90efbc
commit 96dad8d803
2 changed files with 20 additions and 2 deletions

View file

@ -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 = {},

View file

@ -58,7 +58,7 @@ return {
auto_install = true,
highlight = { enable = true },
indent = { enable = false },
indent = { enable = true },
incremental_selection = {
enable = true,
keymaps = {