fortran lsp checker and dependancy altering

This commit is contained in:
Techno Duck 2024-09-11 11:25:35 -04:00
parent 52b98c26c8
commit a060eb7494
3 changed files with 15 additions and 5 deletions

View file

@ -13,7 +13,8 @@ vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
spec = "technoduck.lazy_plugins",
change_detection = { notify = false }
change_detection = { notify = false },
rocks = {enabled = false}
})
--[[

View file

@ -1,7 +1,9 @@
return {
'theprimeagen/harpoon',
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
local harpoon = require("harpoon")
harpoon:setup()

View file

@ -28,12 +28,10 @@ return {
})
require("mason-lspconfig").setup({
ensure_installed = {
'clangd',
'lua_ls',
'nil_ls',
'rust_analyzer',
'jedi_language_server',
'texlab',
'fortls',
},
handlers = {
function(server_name)
@ -47,6 +45,15 @@ return {
require("lspconfig")[server_name].setup {
capabilities = capabilities
}
require'lspconfig'.fortls.setup{
cmd = {
'fortls',
'--hover_signature',
'--hover_language=fortran',
'--use_signature_help',
'--lowercase_intrinsics'
},
}
require("lspconfig").lua_ls.setup({
settings = {
Lua = {