Compare commits
4 commits
9a81b3db9b
...
b41b0b00d6
Author | SHA1 | Date | |
---|---|---|---|
b41b0b00d6 | |||
0b04bfb7ad | |||
1a58525e35 | |||
62bdf9f699 |
4 changed files with 48 additions and 7 deletions
|
@ -36,5 +36,8 @@ conda deactivate
|
|||
|
||||
direnv hook fish | source
|
||||
|
||||
# opam configuration
|
||||
source /home/afonso/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
||||
|
||||
starship init fish | source
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ lazy.setup({
|
|||
|
||||
{
|
||||
'luk400/vim-jukit',
|
||||
event = "VeryLazy",
|
||||
ft = {'python','ipynb'},
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -223,6 +223,40 @@ lazy.setup({
|
|||
end
|
||||
},
|
||||
|
||||
{
|
||||
"rcarriga/nvim-dap-ui",
|
||||
event = "VeryLazy",
|
||||
dependencies = "mfussenegger/nvim-dap",
|
||||
config = function()
|
||||
local dap = require("dap")
|
||||
local dapui = require("dapui")
|
||||
dapui.setup()
|
||||
dap.listeners.after.event_initialized["dapui_config"] = function()
|
||||
dapui.open()
|
||||
end
|
||||
dap.listeners.before.event_terminated["dapui_config"] = function()
|
||||
dapui.close()
|
||||
end
|
||||
dap.listeners.before.event_exited["dapui_config"] = function()
|
||||
dapui.close()
|
||||
end
|
||||
end
|
||||
},
|
||||
{
|
||||
"jay-babu/mason-nvim-dap.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
"mfussenegger/nvim-dap",
|
||||
},
|
||||
opts = {
|
||||
handlers = {}
|
||||
},
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
},
|
||||
|
||||
{
|
||||
'williamboman/mason.nvim',
|
||||
config = function()
|
||||
|
|
|
@ -48,14 +48,19 @@ local capabilities = vim.tbl_deep_extend(
|
|||
require('cmp_nvim_lsp').default_capabilities()
|
||||
)
|
||||
|
||||
local setup = {
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
mason_lspconfig.setup_handlers {
|
||||
|
||||
-- This is a default handler that will be called for each installed server (also for new servers that are installed during a session)
|
||||
function(server_name)
|
||||
lspconfig[server_name].setup {
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
lspconfig[server_name].setup { setup }
|
||||
end,
|
||||
}
|
||||
|
||||
lspconfig["ocamllsp"].setup {
|
||||
setup
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ null_ls.setup({
|
|||
null_ls.builtins.formatting.rustfmt,
|
||||
null_ls.builtins.formatting.blue,
|
||||
null_ls.builtins.formatting.gofmt,
|
||||
null_ls.builtins.formatting.clang_format,
|
||||
null_ls.builtins.code_actions.shellcheck,
|
||||
null_ls.builtins.formatting.prettierd.with({
|
||||
filetypes = { "html", "json", "css", "js", "yaml", "markdown" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue