mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 17:57:34 +00:00
Better lsp and completion
Remove treesitter completion for now and use black config?
This commit is contained in:
parent
497c580c12
commit
d283258689
@ -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 {
|
||||
|
@ -73,7 +73,8 @@ function M.config_lsp()
|
||||
on_attach=default_attach,
|
||||
settings={
|
||||
pylsp={
|
||||
configurationSources = {"flake8"},
|
||||
-- configurationSources = {"flake8"},
|
||||
configurationSources = {"black"},
|
||||
formatCommand = {"black"},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user