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({ require("lazy").setup({
spec = "technoduck.lazy_plugins", spec = "technoduck.lazy_plugins",
change_detection = { notify = false } change_detection = { notify = false },
rocks = {enabled = false}
}) })
--[[ --[[

View file

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

View file

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