Merge branch 'main' of github.com:gwicho38/lnvim

pull/126/head
lefv 2024-09-06 09:40:35 -04:00
commit f408130b29
5 changed files with 59 additions and 2 deletions

5
.vscode/extensions.json vendored 100644
View File

@ -0,0 +1,5 @@
{
"recommendations": [
"asvetliakov.vscode-neovim"
]
}

22
.vscode/settings.json vendored 100644
View File

@ -0,0 +1,22 @@
{
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#7ed1d0",
"activityBar.background": "#7ed1d0",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#c35bc4",
"activityBarBadge.foreground": "#15202b",
"commandCenter.border": "#15202b99",
"sash.hoverBorder": "#7ed1d0",
"statusBar.background": "#59c3c2",
"statusBar.foreground": "#15202b",
"statusBarItem.hoverBackground": "#3eabaa",
"statusBarItem.remoteBackground": "#59c3c2",
"statusBarItem.remoteForeground": "#15202b",
"titleBar.activeBackground": "#59c3c2",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveBackground": "#59c3c299",
"titleBar.inactiveForeground": "#15202b99"
},
"peacock.color": "#59c3c2"
}

View File

@ -1,4 +1,10 @@
{
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"tokyonight.nvim": { "branch": "main", "commit": "2cd12582c98a3552032824ffa67fd44b4d81184a" }
"lazy.nvim": {
"branch": "main",
"commit": "077102c5bfc578693f12377846d427f49bc50076"
},
"tokyonight.nvim": {
"branch": "main",
"commit": "2cd12582c98a3552032824ffa67fd44b4d81184a"
}
}

View File

@ -0,0 +1,8 @@
-- source: https://www.lazyvim.org/extras/vscode
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "lazyvim.plugins.extras.vscode" },
{ import = "plugins" },
},
})

16
lua/code/test.lua 100644
View File

@ -0,0 +1,16 @@
-- file to test vscode extension post load
local vscode = require('vscode')
-- defined callback to test basic functionality
do -- Execute _ping asynchronously and print the result
vscode.action("_ping", {
callback = function(err, res)
if err == nil then
print(res) -- outputs: pong
end
end,
})
end
-- call callback
print(vscode.call("_ping")) -- outputs: pong