mirror of
https://github.com/halfdan/dotfiles.git
synced 2026-05-09 04:16:20 +00:00
Update neovim, ghostty
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user