Update nvim config
This commit is contained in:
parent
3f56da3e5e
commit
a2f39569a9
@ -2,7 +2,7 @@
|
|||||||
#{{- /* vim: set filetype=toml: */ -}}
|
#{{- /* vim: set filetype=toml: */ -}}
|
||||||
[".local/share/nvim/lazy/lazy.nvim"]
|
[".local/share/nvim/lazy/lazy.nvim"]
|
||||||
type = "archive"
|
type = "archive"
|
||||||
url = "https://github.com/folke/lazy.nvim/archive/refs/tags/v10.23.0.tar.gz"
|
url = "https://github.com/folke/lazy.nvim/archive/refs/tags/v11.14.1.tar.gz"
|
||||||
exact = true
|
exact = true
|
||||||
stripComponents = 1
|
stripComponents = 1
|
||||||
refreshPeriod = "2196h"
|
refreshPeriod = "2196h"
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
require('core.config')
|
require('core.config')
|
||||||
vim.opt.runtimepath:prepend(vim.fn.stdpath('data') .. '/lazy/lazy.nvim')
|
vim.opt.runtimepath:prepend(vim.fn.stdpath('data') .. '/lazy/lazy.nvim')
|
||||||
require('lazy').setup('plugins', {})
|
require('lazy').setup('plugins', {
|
||||||
|
version = "*",
|
||||||
|
})
|
||||||
|
|||||||
@ -85,7 +85,7 @@ local function config()
|
|||||||
cssls = {},
|
cssls = {},
|
||||||
--{{ if lookPath "node" -}}
|
--{{ if lookPath "node" -}}
|
||||||
eslint = {},
|
eslint = {},
|
||||||
tsserver = {},
|
ts_ls = {},
|
||||||
--{{- end }}
|
--{{- end }}
|
||||||
--{{ if lookPath "go" -}}
|
--{{ if lookPath "go" -}}
|
||||||
gopls = {},
|
gopls = {},
|
||||||
@ -122,12 +122,18 @@ end
|
|||||||
return {
|
return {
|
||||||
'neovim/nvim-lspconfig',
|
'neovim/nvim-lspconfig',
|
||||||
name = 'lspconfig',
|
name = 'lspconfig',
|
||||||
|
tag = 'v1.0.0',
|
||||||
config = config,
|
config = config,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ 'williamboman/mason.nvim', tag = 'v1.*', opts = {} },
|
{ 'williamboman/mason.nvim', tag = 'v1.10.0', opts = {} },
|
||||||
{ 'williamboman/mason-lspconfig.nvim', tag = 'v1.*' },
|
{ 'williamboman/mason-lspconfig.nvim', tag = 'v1.31.0' },
|
||||||
{ 'j-hui/fidget.nvim', tag = 'legacy', opts = {} },
|
{ 'j-hui/fidget.nvim', tag = 'legacy', opts = {} },
|
||||||
{ 'folke/neodev.nvim', tag = 'v2.*', opts = {} },
|
{ 'folke/trouble.nvim', tag = 'v3.6.0' },
|
||||||
{ 'folke/trouble.nvim', tag = 'v2.*' },
|
-- { 'folke/lazydev.nvim',
|
||||||
|
-- tag = 'v1.8.0',
|
||||||
|
-- ft = "lua",
|
||||||
|
-- opts = {
|
||||||
|
-- }
|
||||||
|
-- },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,6 @@ end
|
|||||||
return {
|
return {
|
||||||
'L3MON4D3/LuaSnip',
|
'L3MON4D3/LuaSnip',
|
||||||
config = config,
|
config = config,
|
||||||
tag = 'v2.*',
|
tag = 'v2.3.0',
|
||||||
dependencies = {},
|
dependencies = {},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user