mirror of
https://github.com/sadan4/nvim.git
synced 2024-11-16 22:34:39 -05:00
things
This commit is contained in:
parent
6742b2432b
commit
0232a5a1ab
2 changed files with 13 additions and 1 deletions
|
@ -8,6 +8,12 @@ local plugins = {
|
|||
{
|
||||
"windwp/nvim-ts-autotag"
|
||||
},
|
||||
{
|
||||
"barrett-ruth/live-server.nvim",
|
||||
build = "pnpm add -g live-server",
|
||||
cmd = { "LiveServerStart", "LiveServerStop" },
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||
|
|
|
@ -3,7 +3,10 @@ require("neodev").setup({
|
|||
-- add any options here, or leave empty to use the default settings
|
||||
})
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||
|
||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
require'lspconfig'.emmet_ls.setup{
|
||||
capabilities = capabilities,
|
||||
}
|
||||
capabilities.textDocument.foldingRange = {
|
||||
dynamicRegistration = false,
|
||||
lineFoldingOnly = true,
|
||||
|
@ -15,6 +18,9 @@ require'lspconfig'.nginx_language_server.setup{
|
|||
require("lspconfig").bashls.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
require'lspconfig'.html.setup {
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require("lspconfig").nil_ls.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue