Merge branch 'master' of ssh://git.olympuslab.net:522/afonso/dotfiles
This commit is contained in:
commit
9a46f3aea9
11 changed files with 76 additions and 306 deletions
|
@ -29,6 +29,22 @@ lazy.setup({
|
|||
require('leap').add_default_mappings()
|
||||
end
|
||||
},
|
||||
--Nvim to browser
|
||||
'subnut/nvim-ghost.nvim',
|
||||
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
init = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
end,
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"folke/todo-comments.nvim",
|
||||
|
@ -119,6 +135,9 @@ lazy.setup({
|
|||
compiler_flags = "", -- Default flags passed to the compiler.
|
||||
job_timeout_ms = 25000, -- Timeout for libuv job in milliseconds.
|
||||
languages = { -- Language specific default compiler/flags
|
||||
c = {
|
||||
compiler = "cg132"
|
||||
}
|
||||
},
|
||||
})
|
||||
end
|
||||
|
@ -212,12 +231,12 @@ lazy.setup({
|
|||
end
|
||||
},
|
||||
|
||||
{
|
||||
'lervag/vimtex',
|
||||
config = function()
|
||||
require 'plugins.vimtex'
|
||||
end
|
||||
},
|
||||
{
|
||||
'lervag/vimtex',
|
||||
config = function()
|
||||
require 'plugins.vimtex'
|
||||
end
|
||||
},
|
||||
|
||||
-------------------------------------------------------------------------------------------
|
||||
-- Syntax Highlighting
|
||||
|
|
|
@ -2,8 +2,7 @@ local mason_lspconfig = require "mason-lspconfig"
|
|||
local lspconfig = require "lspconfig"
|
||||
|
||||
mason_lspconfig.setup({
|
||||
ensure_installed = { "lua_ls", "texlab", "hls", "yamlls" },
|
||||
automatic_installation = true
|
||||
automatic_installation = false
|
||||
})
|
||||
|
||||
|
||||
|
@ -61,6 +60,13 @@ mason_lspconfig.setup_handlers {
|
|||
end,
|
||||
}
|
||||
|
||||
require('lspconfig')['hls'].setup {
|
||||
filetypes = { 'haskell', 'lhaskell', 'cabal' },
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
|
||||
require("rust-tools").setup({
|
||||
server = {
|
||||
on_attach = on_attach,
|
||||
|
@ -79,4 +85,3 @@ require("rust-tools").setup({
|
|||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue