Update LSP config for NeoVim
This commit is contained in:
parent
515ff9b9cb
commit
96355737ed
@ -5,6 +5,7 @@ return {
|
|||||||
css = { "prettier" },
|
css = { "prettier" },
|
||||||
html = { "prettier" },
|
html = { "prettier" },
|
||||||
jsonc = { "prettier" },
|
jsonc = { "prettier" },
|
||||||
|
go = { "golines" },
|
||||||
},
|
},
|
||||||
|
|
||||||
-- format_on_save = {
|
-- format_on_save = {
|
||||||
|
@ -4,7 +4,7 @@ require("nvchad.configs.lspconfig").defaults()
|
|||||||
local lspconfig = require "lspconfig"
|
local lspconfig = require "lspconfig"
|
||||||
|
|
||||||
-- EXAMPLE
|
-- EXAMPLE
|
||||||
local servers = { "html", "cssls", "pyright" }
|
local servers = { "html", "cssls", "pyright", "clangd", "gopls" }
|
||||||
local nvlsp = require "nvchad.configs.lspconfig"
|
local nvlsp = require "nvchad.configs.lspconfig"
|
||||||
|
|
||||||
-- lsps with default config
|
-- lsps with default config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user