News for hackers. Stuff that matters.
Re:The undocumented Android change that led to aCropalypse w... by rofrol on Friday April 07, 2023 @06:11PM (#35487681)
I cannot comment on threads older than 2 weeks https://news.ycombinator.com/item?id=10199405

So reply to this https://news.ycombinator.com/item?id=35164665

After cloning astrovim as `~/.config/nvim`, do similar with 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

Re:The undocumented Android change that led to aCropalypse w... by wirrbel on Monday April 10, 2023 @05:28AM (#35510561)
Thanks