emacs-theme-gruvbox
nvim-treesitter
Our great sponsors
emacs-theme-gruvbox | nvim-treesitter | |
---|---|---|
33 | 300 | |
572 | 9,487 | |
- | 5.4% | |
4.1 | 9.9 | |
2 months ago | 3 days ago | |
Emacs Lisp | Scheme | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
emacs-theme-gruvbox
-
Switching to emacs, but the Gruvbox theme here looks different than in CLion or VIM
Recently I wanted to get back to Emacs, and as with any text editor I use, installed the Gruvbox theme.
-
Starfield Constellation Logo - Minimalist Gruvbox Edition [3840x2160] [OC]
Native 4K minimalist/modernist take on the Constellation logo from Bethesda's upcoming SciFi RPG, Starfield. Colors tweaked to use those from the gruvbox palette by morhetz. I wanted something like this for my own desktop, couldn't find it anywhere. So I made it myself and figured maybe someone else might like it.
-
Gruvbox PSP Theme [W.I.P]
Gruvbox its a retro groove Color scheme heavily inspired by badwolf, jellybeans and solarized. With this I want to give the community a customization theme a little different from what they are used to such as neon and those quirky themes that do not go with the retro theme of the PSP
-
Syntax highlighting for JavaScript that uses coc-tsserver? The picture shows how my JavaScript import statement looks like currently on top, and below is how it should be highlighted
https://github.com/morhetz/gruvbox and https://github.com/sheerun/vim-polyglot are Vim plugins that work in Neovim, but they don't allow you to use treesitter, so if you don't want to use treesitter use them.
-
Colored statusline doesn't load at start; I need to manually source $MYVIMRC
" This file contains common and basic plugins too essential not to include " See https://github.com/junegunn/vim-plug/wiki/tutorial " Auto install vim-plug (if not already installed) if empty(glob('~/.config/nvim/autoload/plug.vim')) silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall endif " Run PlugInstall if there are missing plugins autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif " enable Vim-Plug: call plug#begin('~/.config/nvim/plugged') " Install/update plugins Plug 'https://github.com/tpope/vim-commentary.git' Plug 'https://github.com/morhetz/gruvbox' " Better C/C++ syntax highlighting; Plug 'https://github.com/jackguo380/vim-lsp-cxx-highlight' call plug#end() "---------- Basic configs ---------------------------------------------------- autocmd vimenter * ++nested colorscheme gruvbox " Enable transparent background let g:gruvbox_transparent_bg = 1
-
why is my grubox not working as it should? is it a font issue? any help is appreciated
VimScript version: github.com/morhetz/gruvbox and github.com/sheerun/vim-polyglot
-
What type of theme do you use?
I love the gruvbox dark theme.
-
Solarized
I loved solarized when it was new (to me). But after several years, I couldn't stand looking at those blue tones all day.
I switched (in vim) to gruvbox [0] (better maintained "community" edition [1]), which also has a dark and a light version, which is a lot warmer.
0: https://github.com/morhetz/gruvbox
-
My development environment is 100% text based - Fish Shell, Tmux, and Neovim - Here are my Dotfiles
call plug#begin() Plug 'morhetz/gruvbox' "https://github.com/morhetz/gruvbox Plug 'preservim/nerdtree' Plug 'nvim-lualine/lualine.nvim' " If you want to have icons in your statusline choose one of these Plug 'kyazdani42/nvim-web-devicons' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' } " or , { 'branch': '0.1.x' } Plug 'nvim-treesitter/nvim-treesitter' Plug 'sharkdp/fd' Plug 'nvim-telescope/telescope-file-browser.nvim' Plug 'dinhhuy258/git.nvim' Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.*' } Plug 'lewis6991/gitsigns.nvim' Plug 'tomtom/tcomment_vim' Plug 'tpope/vim-rails' Plug 'tpope/vim-dispatch' Plug 'thoughtbot/vim-rspec' Plug 'tpope/vim-endwise' Plug 'vimwiki/vimwiki' Plug 'ervandew/supertab' Plug 'neovim/nvim-lspconfig' Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-buffer' Plug 'hrsh7th/cmp-path' Plug 'hrsh7th/cmp-cmdline' Plug 'hrsh7th/nvim-cmp' Plug 'hrsh7th/vim-vsnip' " post install (yarn install | npm install) then load plugin only for editing supported files Plug 'prettier/vim-prettier', { 'do': 'yarn install --frozen-lockfile --production' } call plug#end() set ruler set number syntax enable set mouse=a set tabstop=2 set shiftwidth=2 set termguicolors set background=dark colorscheme gruvbox " Start NERDTree and put the cursor back in the other window. " autocmd VimEnter * NERDTree | wincmd p let mapleader = ',' " shortcuts for NERDTree nnoremap ntfo :NERDTreeFocus nnoremap nt :NERDTree nnoremap ntt :NERDTreeToggle nnoremap ntf :NERDTreeFind " All generic shortcuts nmap z :u nmap Q :qa! nmap q :bw nnoremap :m '<-2gv=gv nnoremap :m '>+1gv=gv " Find files using Telescope command-line sugar. nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags " setup all Lua based Neovim configs - e.g. lualine, git.nvim lua << EOF require('lualine').setup({ options = { icons_enabled = false, } }) require('git').setup() require('nvim-web-devicons').setup() vim.opt.termguicolors = true -- Setup Bufferline require('bufferline').setup{} -- Setup Gitsings - not using often require('gitsigns').setup() -- Setup nvim-cmp - autoxomplete local cmp = require'cmp' cmp.setup({ snippet = { -- REQUIRED - you must specify a snippet engine expand = function(args) vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users. -- require('luasnip').lsp_expand(args.body) -- For `luasnip` users. -- require('snippy').expand_snippet(args.body) -- For `snippy` users. -- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users. end, }, window = { -- completion = cmp.config.window.bordered(), -- documentation = cmp.config.window.bordered(), }, mapping = cmp.mapping.preset.insert({ [''] = cmp.mapping.scroll_docs(-4), [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete(), [''] = cmp.mapping.abort(), [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. }), sources = cmp.config.sources({ { name = 'nvim_lsp' }, { name = 'vsnip' }, -- For vsnip users. -- { name = 'luasnip' }, -- For luasnip users. -- { name = 'ultisnips' }, -- For ultisnips users. -- { name = 'snippy' }, -- For snippy users. }, { { name = 'buffer' }, }) }) -- Setup Solargraph local nvim_lsp = require('lspconfig') local servers = {'solargraph'} for _, lsp in ipairs(servers) do nvim_lsp[lsp].setup { on_attach = on_attach, } end require'nvim-treesitter.configs'.setup { highlight = { enable = true }, } -- Setup Telescope with webicons local status, telescope = pcall(require, "telescope") if (not status) then return end local actions = require('telescope.actions') local builtin = require("telescope.builtin") local function telescope_buffer_dir() return vim.fn.expand('%:p:h') end local fb_actions = require "telescope".extensions.file_browser.actions telescope.setup { defaults = { mappings = { n = { ["q"] = actions.close }, }, }, extensions = { file_browser = { theme = "dropdown", -- disables netrw and use telescope-file-browser in its place hijack_netrw = true, mappings = { -- your custom insert mode mappings ["i"] = { [""] = function() vim.cmd('normal vbd') end, }, ["n"] = { -- your custom normal mode mappings ["N"] = fb_actions.create, ["h"] = fb_actions.goto_parent_dir, ["/"] = function() vim.cmd('startinsert') end }, }, }, }, } telescope.load_extension("file_browser") vim.keymap.set("n", "sf", function() telescope.extensions.file_browser.file_browser({ path = "%:p:h", cwd = telescope_buffer_dir(), respect_gitignore = false, hidden = true, grouped = true, previewer = false, initial_mode = "normal", layout_config = { height = 40 } }) end) -- keymaps vim.keymap.set('n', ';f', function() builtin.find_files({ no_ignore = false, hidden = true }) end) vim.keymap.set('n', ';r', function() builtin.live_grep() end) vim.keymap.set('n', '\\\\', function() builtin.buffers() end) vim.keymap.set('n', ';t', function() builtin.help_tags() end) vim.keymap.set('n', ';;', function() builtin.resume() end) vim.keymap.set('n', ';e', function() builtin.diagnostics() end) EOF
-
Using raster fonts in Neovide?
" NEOVIDE CONFIG let g:neovide_refresh_rate=60 let g:neovide_transparency=0.9 let g:neovide_remember_window_size=v:true let g:neovide_cursor_trail_length=1 let g:neovide_cursor_animation_length=0.05 " PLUGIN call plug#begin('~/.local/share/nvim/plugged') Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'https://github.com/base16-project/base16-vim' Plug 'https://github.com/lifepillar/vim-solarized8' Plug 'https://github.com/iCyMind/NeoSolarized' Plug 'https://github.com/flrnprz/plastic.vim' Plug 'https://github.com/morhetz/gruvbox' call plug#end() " GENERAL? cd $HOME/Documents set clipboard+=unnamed,unnamedplus set mouse=a set relativenumber filetype on filetype plugin on filetype indent on " GUI NATIVE colorscheme base16-atelier-seaside set background=dark set noshowmode set guifont=Cascadia\ Mono:h10 " AIRLINE "AirlineTheme base16_atelier_seaside let g:airline_theme='base16_atelier_seaside' let g:airline_solarized_bg='dark'
nvim-treesitter
-
JetBrains' unremovable AI assistant meets irresistible outcry
I suggest looking for blog posts about this, you're gunnuh wanna pick out a plugin manager and stuff. It's kind of like a package manager for neovim. You can install everything manually but usually you manually install a plugin manager and it gives you commands to manage the rest of your plugins.
These two plugins are the bare minimum in my view.
https://github.com/nvim-treesitter/nvim-treesitter
Treesitter gives you much better syntax highlighting based on a parser for a given language.
https://github.com/neovim/nvim-lspconfig
This plugin helps you connect to a given language LSP quickly with sensible defaults. You more or less pick your language from here and copy paste a snippet, and then install the relevant LSP:
https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...
For Python you'll want pylsp. For JavaScript it will depend on what frontend framework you're using, I probably can't help you there.
pylsp itself takes some plugins and you'll probably want them. https://github.com/python-lsp/python-lsp-server
Best of luck! Happy hacking.
-
Help needed with Treesitter sql injection
It was changed in https://github.com/nvim-treesitter/nvim-treesitter/commit/78b54eb
-
Do I need NeoVIM?
https://github.com/hrsh7th/nvim-cmp This is an autocompletion engine https://github.com/nvim-treesitter/nvim-treesitter This allows NeoVim to install parsing scripts so NeoVim can do things like code highlighting. https://github.com/williamboman/mason.nvim Not strictly necessary, but allows you to access a repo of LSP, install them, and configure them for without you actively messing about in config files. https://github.com/neovim/nvim-lspconfig Also not strictly necessary, but vastly simplifies LSP setup. https://github.com/williamboman/mason-lspconfig.nvim This lets the above two plugins talk to each other more easily.
- Problem with highlighting when attempting to create own treesitter parser
-
neorg problem, all other plugins deactivate when added to init.lua
vim.opt.rtp:prepend(lazypath) require('lazy').setup({ { "nvim-neorg/neorg", build = ":Neorg sync-parsers", opts = { load = { ["core.defaults"] = {}, -- Loads default behaviour ["core.concealer"] = {}, -- Adds pretty icons to your documents ["core.dirman"] = { -- Manages Neorg workspaces config = { workspaces = { notes = "~/notes", }, defaultworkspace = "notes", }, }, }, }, dependencies = { { "nvim-lua/plenary.nvim", }, { -- YOU ALMOST CERTAINLY WANT A MORE ROBUST nvim-treesitter SETUP -- see https://github.com/nvim-treesitter/nvim-treesitter "nvim-treesitter/nvim-treesitter", opts = { auto_install = true, highlight = { enable = true, additional_vim_regex_highlighting = false, }, }, config = function(,opts) require('nvim-treesitter.configs').setup(opts) end }, { "folke/tokyonight.nvim", config=function(,) vim.cmd.colorscheme "tokyonight-storm" end,}, }, }, }) require 'plugins' ```
-
Getting Treesitter to work for Windows 10
Change the compiler to use 'llvm' and install visual studio build tools command line stuff - at least that is what worked for me without problems. If you are using c++ then I would assume you have visual studio installed already. If you need more info follow the treesitter windows support
-
Just come back up out of the rabbit hole - TS unsets syntax variable by design!
After a lot of time spent yesterday I took a fresh look today and then thought to myself - what if this is what TS does by design? A few clicks later and I found this https://github.com/nvim-treesitter/nvim-treesitter/issues/1327
- What is this color scheme
-
nvim-treesitter erroring on Windows 11 Pro
I've followed the official guide for nvim-treesitter support on Windows, but I'm having problems making it work. I keep getting a compilation error for any parser I try to install using TSInstall. If instead I use TSInstallSync I don't get errors but the parser is not correctly installed. My setup uses lazyvim and I installed LLVM using winget to have a C compiler.
-
Neovim can't find C compiler
I have read that gcc in windows doesn't always provide the necessary support for treesitter. I have seen ppl prefer clang over gcc in Windows. Please see also Windows support in treesitter's repo. Unfortunately I cannot help further as I don't use Windows for coding, but hope you can deduce something to solve your problem from the above link (if you haven't already read through it).
What are some alternatives?
kanagawa.nvim - NeoVim dark colorscheme inspired by the colors of the famous painting by Katsushika Hokusai.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
gruvbox-material - Gruvbox with Material Palette
nvim-lspconfig - Quickstart configs for Nvim LSP
tmux - tmux source code
vim-polyglot - A solid language pack for Vim.
forest-night - 🌲 Comfortable & Pleasant Color Scheme for Vim
vim-python-pep8-indent - A nicer Python indentation style for vim.
gruvbox - Retro groove color scheme for Vim
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
tree-sitter - An incremental parsing system for programming tools