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", "nvim-treesitter/nvim-treesitter-textobjects",
requires = "nvim-treesitter/nvim-treesitter", requires = "nvim-treesitter/nvim-treesitter",
} }
--[[
use { use {
"nvim-treesitter/completion-treesitter", "nvim-treesitter/completion-treesitter",
requires = "nvim-treesitter/nvim-treesitter", requires = "nvim-treesitter/nvim-treesitter",
} }
--]]
-- Completion -- Completion
use { use {

View File

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