adding new config
This commit is contained in:
@ -45,5 +45,6 @@ M.ui = {
|
|||||||
|
|
||||||
M.mappings = require "custom.mappings"
|
M.mappings = require "custom.mappings"
|
||||||
vim.cmd('autocmd BufRead,BufEnter *.astro set filetype=astro')
|
vim.cmd('autocmd BufRead,BufEnter *.astro set filetype=astro')
|
||||||
|
vim.cmd('set rnu')
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
@ -9,7 +9,7 @@ return {
|
|||||||
end
|
end
|
||||||
},
|
},
|
||||||
["windwp/nvim-ts-autotag"] = {
|
["windwp/nvim-ts-autotag"] = {
|
||||||
ft = { "html", "javascriptreact", "typescriptreact"},
|
ft = { "html", "javascriptreact", "typescriptreact", "astro"},
|
||||||
after = "nvim-treesitter",
|
after = "nvim-treesitter",
|
||||||
config = function()
|
config = function()
|
||||||
local present, autotag = pcall(require, "nvim-ts-autotag")
|
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 capabilities = require("plugins.configs.lspconfig").capabilities
|
||||||
|
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
local servers = {"tsserver", "tailwindcss", "eslint" }
|
local servers = {"tsserver", "tailwindcss", "eslint", "cssls", "prismals" }
|
||||||
|
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup({
|
lspconfig[lsp].setup({
|
||||||
|
Reference in New Issue
Block a user