neovim: trigger otter lsp on sh embedded text

This commit is contained in:
Alexandre Cavalheiro 2024-07-09 06:35:53 -03:00
parent 8d35457110
commit 06bfa39204
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -34,11 +34,15 @@ return {
end,
},
{
-- Adds highlighting and lsp features for embedded code in documents.
"jmbuhr/otter.nvim",
dependencies = {
"hrsh7th/nvim-cmp",
"neovim/nvim-lspconfig",
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("otter").activate({ "sh" }, true, true, nil)
end,
},
}