mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-04-26 20:35:40 +00:00
Replace several outdated plugins
This commit is contained in:
parent
703f2cb966
commit
989102b5ec
@ -1,5 +1,5 @@
|
|||||||
require'lspconfig'.gopls.setup{
|
require'lspconfig'.gopls.setup{
|
||||||
cmd = {DATA_PATH .. "/lspinstall/go/gopls"},
|
cmd = {DATA_PATH .. "/lsp_servers/go/gopls"},
|
||||||
settings = {gopls = {analyses = {unusedparams = true}, staticcheck = true}},
|
settings = {gopls = {analyses = {unusedparams = true}, staticcheck = true}},
|
||||||
root_dir = require'lspconfig'.util.root_pattern(".git","go.mod","."),
|
root_dir = require'lspconfig'.util.root_pattern(".git","go.mod","."),
|
||||||
init_options = {usePlaceholders = true, completeUnimported = true},
|
init_options = {usePlaceholders = true, completeUnimported = true},
|
||||||
|
@ -83,7 +83,10 @@ return require("packer").startup(
|
|||||||
|
|
||||||
|
|
||||||
-- LSP / Language Server Protocol
|
-- LSP / Language Server Protocol
|
||||||
use {'neovim/nvim-lspconfig'}
|
use {
|
||||||
|
'neovim/nvim-lspconfig',
|
||||||
|
'williamboman/nvim-lsp-installer',
|
||||||
|
}
|
||||||
--use {'hrsh7th/nvim-compe'}
|
--use {'hrsh7th/nvim-compe'}
|
||||||
|
|
||||||
use {'hrsh7th/cmp-nvim-lsp'}
|
use {'hrsh7th/cmp-nvim-lsp'}
|
||||||
@ -94,7 +97,7 @@ return require("packer").startup(
|
|||||||
|
|
||||||
-- use {'glepnir/lspsaga.nvim'} -- Has a bug
|
-- use {'glepnir/lspsaga.nvim'} -- Has a bug
|
||||||
use {'tami5/lspsaga.nvim'}
|
use {'tami5/lspsaga.nvim'}
|
||||||
use {'kabouzeid/nvim-lspinstall'}
|
|
||||||
use {'nvim-lua/lsp-status.nvim'}
|
use {'nvim-lua/lsp-status.nvim'}
|
||||||
use {'simrat39/symbols-outline.nvim'}
|
use {'simrat39/symbols-outline.nvim'}
|
||||||
|
|
||||||
@ -114,7 +117,10 @@ return require("packer").startup(
|
|||||||
use {'neoclide/jsonc.vim'}
|
use {'neoclide/jsonc.vim'}
|
||||||
|
|
||||||
use {'ray-x/go.nvim'}
|
use {'ray-x/go.nvim'}
|
||||||
|
use {'ray-x/guihua.lua'}
|
||||||
|
|
||||||
|
-- Debugger support via dap
|
||||||
|
use { "rcarriga/nvim-dap-ui", requires = {"mfussenegger/nvim-dap"} }
|
||||||
-- use {'vim-python/python-syntax', ft={'python'}, opt=true}
|
-- use {'vim-python/python-syntax', ft={'python'}, opt=true}
|
||||||
-- let g:python_highlight_all = 1
|
-- let g:python_highlight_all = 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user