Revert "lsp-status added"
This reverts commit bc1e4bb74225f70cc050a058ba384c832860a6a7.
This commit is contained in:
parent
a3fbe547ad
commit
9b1238f318
3
init.lua
3
init.lua
@ -92,8 +92,7 @@ require('telescope').load_extension('neoclip')
|
|||||||
-------------------- LUALINE -------------------------------
|
-------------------- LUALINE -------------------------------
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {theme = 'gruvbox'},
|
options = {theme = 'gruvbox'},
|
||||||
sections = {lualine_c = {'getcwd', 'filename', 'bo:filetype'},
|
sections = {lualine_c = {'getcwd', 'filename', 'bo:filetype'}}
|
||||||
lualine_z = {"require('lsp-status').update_current_function()", "require('lsp-status').status()"}}
|
|
||||||
}
|
}
|
||||||
-------------------- PROJECT -------------------------------
|
-------------------- PROJECT -------------------------------
|
||||||
require("project_nvim").setup {
|
require("project_nvim").setup {
|
||||||
|
@ -1,19 +1,10 @@
|
|||||||
local nvim_lsp = require 'lspconfig'
|
local nvim_lsp = require 'lspconfig'
|
||||||
local utils = require('utils')
|
local utils = require('utils')
|
||||||
local lsp_status = require('lsp-status')
|
|
||||||
lsp_status.register_progress()
|
|
||||||
|
|
||||||
-- We use the default settings for ccls and pylsp: the option table can stay empty
|
-- We use the default settings for ccls and pylsp: the option table can stay empty
|
||||||
-- nvim_lsp.ccls.setup {}
|
-- nvim_lsp.ccls.setup {}
|
||||||
nvim_lsp.pyright.setup{}
|
nvim_lsp.pyright.setup{}
|
||||||
nvim_lsp.clangd.setup{
|
nvim_lsp.clangd.setup{}
|
||||||
handlers = lsp_status.extensions.clangd.setup(),
|
|
||||||
init_options = {
|
|
||||||
clangdFileStatus = true
|
|
||||||
},
|
|
||||||
on_attach = lsp_status.on_attach,
|
|
||||||
capabilities = lsp_status.capabilities
|
|
||||||
}
|
|
||||||
nvim_lsp.cmake.setup{}
|
nvim_lsp.cmake.setup{}
|
||||||
nvim_lsp.jsonls.setup{}
|
nvim_lsp.jsonls.setup{}
|
||||||
nvim_lsp.groovyls.setup{
|
nvim_lsp.groovyls.setup{
|
||||||
|
@ -43,5 +43,4 @@ return require('packer').startup(function()
|
|||||||
use {'f-person/git-blame.nvim'}
|
use {'f-person/git-blame.nvim'}
|
||||||
use {'windwp/nvim-autopairs'}
|
use {'windwp/nvim-autopairs'}
|
||||||
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make'}
|
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make'}
|
||||||
use {'nvim-lua/lsp-status.nvim'}
|
|
||||||
end)
|
end)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user