emacs-theme-gruvbox
vim-polyglot
Our great sponsors
emacs-theme-gruvbox | vim-polyglot | |
---|---|---|
33 | 32 | |
572 | 5,516 | |
- | - | |
4.1 | 0.0 | |
2 months ago | 7 months ago | |
Emacs Lisp | Vim Script | |
MIT License | - |
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'
vim-polyglot
-
C# lsp configuration with neovim CoC
I'm currently on an old setup (using coc and polyglot) and nvim v0.6.1. I'll be updating to a more modern setup within next year, using the native lsp and building nvim more frequently. But that's not today.
-
how to indent javascript code correctly in a PHP file?
So I did some digging and I found out that vim-polyglot uses a different syntax file than Vim's default for PHP files. When I loaded vim-polyglot's syntax file into my ~/.vim/syntax, I encountered the same issue as you.
-
Coffeescript syntax highlighting?
Try this: https://github.com/sheerun/vim-polyglot You can install plugin or copy-paste files for desired filetype
-
Add extra syntax highlighting in NVIM [around 600+ extra language]
I think you mean vim-polyglot? Great plugin. Pre-treesitter it was indespensible.
-
¿Is there a plugin that sets the errorformat option for a bunch of languages?
Usually this is handled inside the :compiler scripts. vim-polyglot is a collection of ftplugins that includes a bunch of :compiler plugins.
- Need help displaying colors in C files. I have the vim-css-color plugin but that doesn't seem to work in C
- Looking for a neovim/CoC formatter for eruby files
-
Convert neovim .lua to .vim?
Get polyglot installed in your vimfiles/pack//start folder along with whatever 4 Tim Pope plugins you love the most and :CocInstall your LSP(s)
- Minimal config (55 lines) for web development & general purpose programming
-
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.
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
neovim - Vim-fork focused on extensibility and usability
tmux - tmux source code
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
forest-night - 🌲 Comfortable & Pleasant Color Scheme for Vim
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
gruvbox - Retro groove color scheme for Vim
vim-sleuth - sleuth.vim: Heuristically set buffer options
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
vim-nerdtree-syntax-highlight - Extra syntax and highlight for nerdtree files