From e5abc118bd67e1f294e2071e3469e1bfd5f3ca0b Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Mon, 18 Sep 2023 10:51:47 +0200 Subject: [PATCH] Ajout : lspconfig pour Neovim --- config/nvim/init.lua | 1 + config/nvim/lua/core/lsp.lua | 2 ++ config/nvim/lua/core/plugins.lua | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 config/nvim/lua/core/lsp.lua diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 9d54a8c..d7e6b4a 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -6,4 +6,5 @@ require('core.keymaps') require('core.plugins') require('core.style') require('core.plugin_config') +require('core.lsp') diff --git a/config/nvim/lua/core/lsp.lua b/config/nvim/lua/core/lsp.lua new file mode 100644 index 0000000..422ae0d --- /dev/null +++ b/config/nvim/lua/core/lsp.lua @@ -0,0 +1,2 @@ +require'lspconfig'.pyright.setup{} + diff --git a/config/nvim/lua/core/plugins.lua b/config/nvim/lua/core/plugins.lua index 5169b45..3c6de9c 100644 --- a/config/nvim/lua/core/plugins.lua +++ b/config/nvim/lua/core/plugins.lua @@ -27,7 +27,6 @@ return require('packer').startup(function(use) 'nvim-lualine/lualine.nvim', requires = { 'nvim-tree/nvim-web-devicons', opt = true } } - use 'elkowar/yuck.vim' -- use 'feline-nvim/feline.nvim' -- Synchroniser les paquetages si c'est la première exécution