js, py, go working
This commit is contained in:
parent
502f8cc6a8
commit
b64cf5e3ce
6 changed files with 23 additions and 11 deletions
|
|
@ -3,7 +3,7 @@ return {
|
|||
{
|
||||
'hrsh7th/nvim-cmp',
|
||||
dependencies = {
|
||||
-- 'luckasRanarison/tailwind-tools.nvim',
|
||||
'tailwind-tools',
|
||||
'onsails/lspkind-nvim',
|
||||
-- Snippet Engine & its associated nvim-cmp source
|
||||
'L3MON4D3/LuaSnip',
|
||||
|
|
@ -15,12 +15,11 @@ return {
|
|||
},
|
||||
opts = function()
|
||||
return {
|
||||
-- ...
|
||||
-- formatting = {
|
||||
-- format = require('lspkind').cmp_format {
|
||||
-- before = require('tailwind-tools.cmp').lspkind_format,
|
||||
-- },
|
||||
-- },
|
||||
formatting = {
|
||||
format = require('lspkind').cmp_format {
|
||||
before = require('tailwind-tools.cmp').lspkind_format,
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
|
|
|||
11
lua/plugins/tailwind-tools.lua
Normal file
11
lua/plugins/tailwind-tools.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
"luckasRanarison/tailwind-tools.nvim",
|
||||
name = "tailwind-tools",
|
||||
build = ":UpdateRemotePlugins",
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"nvim-telescope/telescope.nvim", -- optional
|
||||
"neovim/nvim-lspconfig", -- optional
|
||||
},
|
||||
opts = {} -- your configuration
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue