update
This commit is contained in:
parent
a077ec48c2
commit
08184ce63d
@ -15,6 +15,7 @@ return {
|
|||||||
require 'lspconfig'.yamlls.setup(require('lsp.yaml'))
|
require 'lspconfig'.yamlls.setup(require('lsp.yaml'))
|
||||||
require 'lspconfig'.gopls.setup(require('lsp.go'))
|
require 'lspconfig'.gopls.setup(require('lsp.go'))
|
||||||
require 'lspconfig'.jsonls.setup(require('lsp.json'))
|
require 'lspconfig'.jsonls.setup(require('lsp.json'))
|
||||||
|
require 'lspconfig'.javals.setup()
|
||||||
|
|
||||||
|
|
||||||
G.map({
|
G.map({
|
||||||
@ -39,7 +40,15 @@ return {
|
|||||||
"williamboman/mason.nvim", -- lsp 下载器
|
"williamboman/mason.nvim", -- lsp 下载器
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require "mason".setup {}
|
require "mason".setup {
|
||||||
|
ui = {
|
||||||
|
icons = {
|
||||||
|
package_installed = "✓",
|
||||||
|
package_pending = "➜",
|
||||||
|
package_uninstalled = "✗"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"clangd",
|
"clangd",
|
||||||
|
Loading…
Reference in New Issue
Block a user