Update neovim, ghostty

This commit is contained in:
Fabian Becker
2026-04-29 11:06:56 +02:00
parent 1f2385f7a7
commit 68b808f86e
14 changed files with 257 additions and 162 deletions

View File

@@ -18,7 +18,7 @@ vim.diagnostic.config({
})
-- Setup for nvim-notify
vim.lsp.set_log_level(2)
vim.lsp.log.set_level(2)
-- Map LSP message types (1=Error, 2=Warning, 3=Info, 4=Log) to vim.log.levels
local severity_map = {
[1] = vim.log.levels.ERROR,
@@ -119,7 +119,18 @@ vim.api.nvim_create_autocmd('LspAttach', {
})
vim.lsp.enable 'lua_ls'
vim.lsp.enable 'gopls'
vim.lsp.enable 'expert'
-- vim.lsp.enable 'expert'
vim.lsp.enable 'ruff'
vim.lsp.enable 'pyright'
vim.lsp.enable 'gleam'
vim.lsp.config('dexter', {
cmd = { 'dexter', 'lsp' },
root_markers = { '.dexter.db', '.git', 'mix.exs' },
filetypes = { 'elixir', 'eelixir', 'heex' },
init_options = {
followDelegates = true, -- jump through defdelegate to the target function
-- stdlibPath = "", -- override Elixir stdlib path (auto-detected)
-- debug = false, -- verbose logging to stderr (view with :LspLog)
},
})
vim.lsp.enable 'dexter'