change copilot plugin and add tailwind plugins
This commit is contained in:
parent
63f64af2af
commit
d22d6e5acb
7 changed files with 204 additions and 21 deletions
|
|
@ -1,10 +1,15 @@
|
|||
-- If you want insert `(` after select function or method item
|
||||
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
|
||||
local cmp = require('cmp')
|
||||
|
||||
cmp.event:on(
|
||||
'confirm_done',
|
||||
cmp_autopairs.on_confirm_done()
|
||||
)
|
||||
|
||||
-- cmp.config.formatting = {
|
||||
-- format = require("tailwindcss-colorizer-cmp").formatter
|
||||
-- }
|
||||
-- cmp.setup {
|
||||
-- completion = {
|
||||
-- autocomplete = true,
|
||||
|
|
|
|||
|
|
@ -16,10 +16,9 @@ sign({ name = 'DiagnosticSignInfo', text = '»' })
|
|||
|
||||
-- lspconfig = require 'lspconfig'
|
||||
-- lspconfig.tailwindcss.setup({
|
||||
-- on_attach = on_attach,
|
||||
-- capabilities = capabilities,
|
||||
-- filetypes = { "templ", "astro", "javascript", "typescript", "react" },
|
||||
-- init_options = { userLanguages = { templ = "html" } },
|
||||
-- -- on_attach = on_attach,
|
||||
-- -- capabilities = capabilities,
|
||||
-- filetypes = { "html", "templ", "astro", "javascript", "typescript", "react" },
|
||||
-- })
|
||||
|
||||
vim.filetype.add({ extension = { templ = "templ" } })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue