adding new config
This commit is contained in:
@ -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
|
||||
|
@ -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")
|
||||
|
@ -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({
|
||||
|
Reference in New Issue
Block a user