mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-18 01:36:27 +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",
|
"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 {
|
||||||
|
@ -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"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user