Better lsp and completion

Remove treesitter completion for now and use black config?
This commit is contained in:
ViViDboarder 2021-08-24 16:13:10 -07:00
parent 497c580c12
commit d283258689
2 changed files with 4 additions and 1 deletions

View File

@ -291,10 +291,12 @@ return require('packer').startup(function()
"nvim-treesitter/nvim-treesitter-textobjects",
requires = "nvim-treesitter/nvim-treesitter",
}
--[[
use {
"nvim-treesitter/completion-treesitter",
requires = "nvim-treesitter/nvim-treesitter",
}
--]]
-- Completion
use {

View File

@ -73,7 +73,8 @@ function M.config_lsp()
on_attach=default_attach,
settings={
pylsp={
configurationSources = {"flake8"},
-- configurationSources = {"flake8"},
configurationSources = {"black"},
formatCommand = {"black"},
},
},