[2024-05-10] Adding nvim-lspconfig

This commit is contained in:
Andrew Conlin 2024-05-10 16:54:09 +01:00
parent 3fb4836b8b
commit 62cad17101
3 changed files with 19 additions and 0 deletions

View File

@ -20,6 +20,7 @@ Plug 'nvim-tree/nvim-web-devicons' " OPTIONAL: for file icons
Plug 'freddiehaddad/feline.nvim' Plug 'freddiehaddad/feline.nvim'
"Plug 'epwalsh/obsidian.nvim' "Plug 'epwalsh/obsidian.nvim'
"Plug 'hrsh7th/nvim-cmp' "Plug 'hrsh7th/nvim-cmp'
Plug 'neovim/nvim-lspconfig'
call plug#end() call plug#end()
set bg=dark set bg=dark

View File

@ -1,3 +1,14 @@
require('plugins.gruvbox') require('plugins.gruvbox')
require('plugins.feline') require('plugins.feline')
require('gitsigns').setup() require('gitsigns').setup()
--require('lspconfig').matlab_ls.setup{
-- cmd = { "node", "/mathworks/home/aconlin/MATLAB-language-server/out/index.js", "--stdio" },
-- settings = {
-- MATLAB = {
-- indexWorkspace = false,
-- installPath = "/usr/local/MATLAB/R2024a",
-- matlabConnectionTiming = "onStart",
-- telemetry = false
-- }
-- }
--}

View File

@ -141,6 +141,13 @@ win_components.active[1][4] = {
hl = { fg = 'bg' } hl = { fg = 'bg' }
} }
} }
win_components.active[1][5] = {
provider = 'file_type',
right_sep = {
str = 'block',
hl = { fg = 'bg' }
}
}
win_components.active[3][1] = { win_components.active[3][1] = {
provider = 'git_add', provider = 'git_add',
hl = { fg = 'fg', bg = 'blue' }, hl = { fg = 'fg', bg = 'blue' },