Suppression : configuration du LSP en vue de sa réécriture
This commit is contained in:
parent
1ced67bce9
commit
ba6e9cd6e7
4 changed files with 4 additions and 31 deletions
|
@ -2,6 +2,6 @@
|
|||
vim.cmd [[ source ~/.vimrc ]]
|
||||
|
||||
-- Modules
|
||||
require('core')
|
||||
require('plugins')
|
||||
require('core')
|
||||
require('lsp')
|
||||
|
|
|
@ -1,7 +1 @@
|
|||
nvim_lsp = require'lspconfig'
|
||||
|
||||
on_attach = function(client)
|
||||
require'completion'.on_attach(client)
|
||||
end
|
||||
|
||||
require('lsp.rust_analyzer')
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
nvim_lsp.rust_analyzer.setup({
|
||||
on_attach=on_attach,
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
imports = {
|
||||
granularity = {
|
||||
group = "module",
|
||||
},
|
||||
prefix = "self",
|
||||
},
|
||||
cargo = {
|
||||
buildScripts = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
procMacro = {
|
||||
enable = true
|
||||
},
|
||||
}
|
||||
}
|
||||
})
|
|
@ -1,3 +1,3 @@
|
|||
require("plugins.nvim_web_devicons")
|
||||
require("plugins.lualine")
|
||||
require("plugins.nvim_tree")
|
||||
--require("plugins.nvim_web_devicons")
|
||||
--require("plugins.lualine")
|
||||
--require("plugins.nvim_tree")
|
||||
|
|
Loading…
Reference in a new issue