3 ms·
I cannot comment on threads older than 2 weeks https://news.ycombinator.com/item?id=10199405 https://news.ycombinator.com/item?id=10199405 So reply to this htt
by rofrol 4y ago
I cannot comment on threads older than 2 weeks https://news.ycombinator.com/item?id=10199405 https://news.ycombinator.com/item?id=10199405
So reply to this https://news.ycombinator.com/item?id=35164665 https://news.ycombinator.com/item?id=35164665
After cloning astrovim as `~/.config/nvim`, do similar with https://github.com/AstroNvim/user_example https://github.com/AstroNvim/user_example but with button "Use this template".
Then in `~/.config/nvim/user/plugins/user.lua` add
```
return {
{
'Mofiqul/vscode.nvim',
priority = 1000,
config = function()
--vim.cmd.colorscheme 'vscode'
vim.o.background = 'light'
local c = require('vscode.colors').get_colors()
require('vscode').setup({
-- Alternatively set style in setup
-- style = 'light'
-- Enable transparent background
transparent = true,
-- Enable italic comment
italic_comments = false,
-- Disable nvim-tree background color
disable_nvimtree_bg = true,
-- Override colors (see ./lua/vscode/colors.lua)
color_overrides = {
vscLineNumber = '#FFFFFF',
},
-- Override highlight groups (see ./lua/vscode/theme.lua)
group_overrides = {
-- this supports the same val table as vim.api.nvim_set_hl
-- use colors from this colorscheme by requiring vscode.colors!
Cursor = { fg=c.vscDarkBlue, bg=c.vscLightGreen, bold=true },
}
})
require('vscode').load()
end,
},
}
```
and in `~/.config/nvim/lua/user/init.lua`:
```
colorscheme = "vscode",
```
Example here https://github.com/rofrol/AstroNvim--user_example https://github.com/rofrol/AstroNvim--user_example
- wirrbel 3y agoThanks