nvim: Add arduino language server wrapping
This commit is contained in:
parent
6dd08327d8
commit
b8eb02ef6c
2 changed files with 4 additions and 1 deletions
|
@ -61,6 +61,9 @@ lsp.configure("pyright", {
|
|||
client.config.settings.python.pythonPath = python_path
|
||||
end
|
||||
})
|
||||
-- set up arduino with the help of arduino.nvim plugin
|
||||
lsp.configure("arduino_language_server",
|
||||
{ on_new_config = require('arduino').on_new_config })
|
||||
lsp.setup_nvim_cmp({
|
||||
sources = {
|
||||
{ name = 'path' }, { name = 'nvim_lsp', keyword_length = 2 },
|
||||
|
|
|
@ -61,7 +61,7 @@ return {
|
|||
}, {
|
||||
'junegunn/vim-easy-align', -- Align tables and other alignable things
|
||||
event = "VeryLazy"
|
||||
}, -- statusline
|
||||
}, { 'edKotinsky/Arduino.nvim', ft = 'arduino', config = true }, -- statusline
|
||||
{
|
||||
'nvim-lualine/lualine.nvim',
|
||||
requires = { 'kyazdani42/nvim-web-devicons', opt = true },
|
||||
|
|
Loading…
Reference in a new issue