adding new config

This commit is contained in:
2022-09-27 19:10:21 +01:00
parent 5aad8c77cf
commit 3f26ccb37d
3 changed files with 3 additions and 2 deletions

View File

@ -45,5 +45,6 @@ M.ui = {
M.mappings = require "custom.mappings"
vim.cmd('autocmd BufRead,BufEnter *.astro set filetype=astro')
vim.cmd('set rnu')
return M

View File

@ -9,7 +9,7 @@ return {
end
},
["windwp/nvim-ts-autotag"] = {
ft = { "html", "javascriptreact", "typescriptreact"},
ft = { "html", "javascriptreact", "typescriptreact", "astro"},
after = "nvim-treesitter",
config = function()
local present, autotag = pcall(require, "nvim-ts-autotag")

View File

@ -2,7 +2,7 @@ local on_attach = require("plugins.configs.lspconfig").on_attach
local capabilities = require("plugins.configs.lspconfig").capabilities
local lspconfig = require("lspconfig")
local servers = {"tsserver", "tailwindcss", "eslint" }
local servers = {"tsserver", "tailwindcss", "eslint", "cssls", "prismals" }
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup({