mirror of
https://github.com/softinio/nix-config.git
synced 2025-08-31 23:06:40 -07:00
Update Nix to get Neovim 0.8
This commit is contained in:
parent
44d9115424
commit
aec63889ec
3 changed files with 34 additions and 24 deletions
|
@ -62,6 +62,14 @@ local function load_plugins()
|
|||
'f3fora/nvim-texlabconfig',
|
||||
run = 'go build'
|
||||
}
|
||||
use {
|
||||
'phaazon/mind.nvim',
|
||||
branch = 'v2.2',
|
||||
requires = { 'nvim-lua/plenary.nvim' },
|
||||
config = function()
|
||||
require'mind'.setup()
|
||||
end
|
||||
}
|
||||
end)
|
||||
end
|
||||
|
||||
|
@ -462,7 +470,7 @@ _G.load_config = function()
|
|||
end
|
||||
|
||||
-- Enable the following language servers
|
||||
local servers = { 'html', 'jdtls', 'jsonls', 'pyright', 'rnix', 'rust_analyzer','sourcekit', 'tsserver', 'yamlls' }
|
||||
local servers = { 'hls', 'html', 'jdtls', 'jsonls', 'pyright', 'rnix', 'rust_analyzer','sourcekit', 'tsserver', 'yamlls' }
|
||||
for _, lsp in ipairs(servers) do
|
||||
nvim_lsp[lsp].setup { on_attach = on_attach }
|
||||
end
|
||||
|
@ -513,9 +521,7 @@ _G.load_config = function()
|
|||
nvim_lsp.sumneko_lua.setup(luadev)
|
||||
|
||||
-- metals
|
||||
vim.g.metals_server_version = '0.11.8'
|
||||
vim.opt_global.completeopt = { "menuone", "noinsert", "noselect" }
|
||||
vim.opt_global.shortmess:remove("F"):append("c")
|
||||
vim.g.metals_server_version = '0.11.9'
|
||||
local metals_config = require('metals').bare_config()
|
||||
metals_config.settings = {
|
||||
showImplicitArguments = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue