1
0
Fork 0
forked from ahurac/dotfiles

Suppression : configuration du LSP en vue de sa réécriture

This commit is contained in:
Hippolyte Chauvin 2023-10-15 22:59:30 +02:00
parent 1ced67bce9
commit ba6e9cd6e7
4 changed files with 4 additions and 31 deletions

View file

@ -2,6 +2,6 @@
vim.cmd [[ source ~/.vimrc ]]
-- Modules
require('core')
require('plugins')
require('core')
require('lsp')

View file

@ -1,7 +1 @@
nvim_lsp = require'lspconfig'
on_attach = function(client)
require'completion'.on_attach(client)
end
require('lsp.rust_analyzer')

View file

@ -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
},
}
}
})

View file

@ -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")