1
0

FEAT: Added emmet

This commit is contained in:
Nigel Barink 2024-04-14 15:35:48 +02:00
parent 0c2a2236a5
commit e9488d5948
Signed by: Nigel
GPG Key ID: C54278C495538619
2 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,7 @@
"nvim-dap": { "branch": "master", "commit": "405df1dcc2e395ab5173a9c3d00e03942c023074" },
"nvim-dap-ui": { "branch": "master", "commit": "edfa93f60b189e5952c016eee262d0685d838450" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "baa5b0dc6663284cce32e0d00ac1f2511b13496f" },
"nvim-emmet": { "branch": "main", "commit": "928cfb74ed436d6d326ccab2061cf3592de1bf55" },
"nvim-highlight-colors": { "branch": "main", "commit": "d711574ebbafec60ca063320c339705287abc00f" },
"nvim-jdtls": { "branch": "master", "commit": "8eb5f0dbe6e126b392ddcaf45893358619893e45" },
"nvim-lspconfig": { "branch": "master", "commit": "24662f92c18edd397ef12d635b11dbdedef2d094" },

View File

@ -15,6 +15,12 @@ return
version = "v2.*",
},
{'mfussenegger/nvim-jdtls', dependencies = {'nvim-dap'}},
{
"olrtg/nvim-emmet",
config = function()
vim.keymap.set({ "n", "v" }, '<leader>xe', require('nvim-emmet').wrap_with_abbreviation)
end,
}
},
config = function()
require("mason").setup()
@ -77,6 +83,9 @@ return
})
local lsp = require("lspconfig")
lsp.emmet_language_server.setup({})
lsp.lua_ls.setup({
capabilities = require('cmp_nvim_lsp').default_capabilities(),
settings = {