Change: added some colorschemes in the config file

pull/1711/head
cxlvnn 4 weeks ago
parent 3338d39206
commit 73b3df3909

1
.gitignore vendored

@ -4,4 +4,3 @@ test.sh
nvim
spell/
lazy-lock.json

@ -0,0 +1,218 @@
set background=dark
if exists('g:colors_name')
hi clear
if exists('syntax_on')
syntax reset
endif
endif
let g:colors_name = 'lushwal'
highlight Normal guifg=#C1C1C2 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight! link User Normal
highlight Bold guifg=#C1C1C2 guibg=#0C0D0E guisp=NONE blend=NONE gui=bold
highlight Boolean guifg=#4D3433 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Character guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight ColorColumn guifg=#747D86 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Comment guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=italic
highlight Conceal guifg=#57626B guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight! link Whitespace Conceal
highlight Conditional guifg=#9CA894 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Constant guifg=#4D3433 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Cursor guifg=#0C0D0E guibg=#C1C1C2 guisp=NONE blend=NONE gui=NONE
highlight CursorColumn guifg=#747D86 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight CursorLine guifg=NONE guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight CursorLineNr guifg=#C1C1C2 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight Debug guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Define guifg=#9CA894 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Delimiter guifg=#6D2C26 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight DiagnosticError guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight DiagnosticHint guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight DiagnosticInfo guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight DiagnosticUnderlineError guifg=#612723 guibg=NONE guisp=#612723 blend=NONE gui=underline
highlight DiagnosticUnderlineHint guifg=#7E8278 guibg=NONE guisp=#7E8278 blend=NONE gui=underline
highlight DiagnosticUnderlineInfo guifg=#544D45 guibg=NONE guisp=#544D45 blend=NONE gui=underline
highlight DiagnosticUnderlineWarn guifg=#384042 guibg=NONE guisp=#384042 blend=NONE gui=underline
highlight DiagnosticWarn guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight DiffAdd guifg=#363D3F guibg=#57626B guisp=NONE blend=NONE gui=bold
highlight! link DiffAdded DiffAdd
highlight DiffChange guifg=#9DA0A4 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight DiffDelete guifg=#612723 guibg=#57626B guisp=NONE blend=NONE gui=bold
highlight! link DiffRemoved DiffDelete
highlight! link diffRemoved DiffDelete
highlight DiffFile guifg=#612723 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight DiffLine guifg=#544D45 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight DiffNewFile guifg=#363D3F guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight DiffText guifg=#544D45 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight Directory guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight EndOfBuffer guifg=#C1C1C2 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight Error guifg=#612723 guibg=#C1C1C2 guisp=NONE blend=NONE gui=NONE
highlight ErrorMsg guifg=#612723 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight Exception guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Float guifg=#4D3433 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight FoldColumn guifg=#544D45 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight Folded guifg=#C1C1C2 guibg=#57626B guisp=NONE blend=NONE gui=italic
highlight Function guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Identifier guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight IncSearch guifg=#57626B guibg=#4D3433 guisp=NONE blend=NONE gui=NONE
highlight Include guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Italic guifg=#C1C1C2 guibg=#0C0D0E guisp=NONE blend=NONE gui=italic
highlight Keyword guifg=#9CA894 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Label guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight LineNr guifg=#9DA0A4 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight Macro guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MatchParen guifg=#C1C1C2 guibg=#9DA0A4 guisp=NONE blend=NONE gui=NONE
highlight MiniCompletionActiveParameter guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MiniCursorword guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=underline
highlight! link MiniCursorwordCurrent MiniCursorword
highlight MiniIndentscopePrefix guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=nocombine
highlight MiniIndentscopeSymbol guifg=#57626B guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight MiniJump guifg=#544D45 guibg=NONE guisp=#9DA0A4 blend=NONE gui=underline
highlight MiniJump2dSpot guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=undercurl
highlight MiniStarterCurrent guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MiniStarterFooter guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=bold
highlight MiniStarterHeader guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=bold
highlight MiniStarterInactive guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=italic
highlight MiniStarterItem guifg=#C1C1C2 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight MiniStarterItemBullet guifg=#6D2C26 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MiniStarterItemPrefix guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MiniStarterQuery guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MiniStarterSection guifg=#6D2C26 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineDevinfo guifg=#C1C1C2 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineFileinfo guifg=#C1C1C2 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineFilename guifg=#384042 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineInactive guifg=#747D86 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineModeCommand guifg=#0C0D0E guibg=#7E8278 guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineModeInsert guifg=#0C0D0E guibg=#544D45 guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineModeNormal guifg=#0C0D0E guibg=#363D3F guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineModeOther guifg=#0C0D0E guibg=#9CA894 guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineModeReplace guifg=#0C0D0E guibg=#612723 guisp=NONE blend=NONE gui=NONE
highlight MiniStatuslineModeVisual guifg=#0C0D0E guibg=#4D3433 guisp=NONE blend=NONE gui=NONE
highlight MiniSurround guifg=#57626B guibg=#4D3433 guisp=NONE blend=NONE gui=NONE
highlight MiniTablineCurrent guifg=#9DA0A4 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniTablineFill guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MiniTablineHidden guifg=#363D3F guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniTablineModifiedCurrent guifg=#C1C1C2 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniTablineModifiedHidden guifg=#747D86 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniTablineModifiedVisible guifg=#C1C1C2 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniTablineVisible guifg=#9DA0A4 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight MiniTestEmphasis guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=bold
highlight MiniTestFail guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=bold
highlight MiniTestPass guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=bold
highlight MiniTrailspace guifg=#612723 guibg=#C1C1C2 guisp=NONE blend=NONE gui=NONE
highlight ModeMsg guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight MoreMsg guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight NonText guifg=#9DA0A4 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Number guifg=#4D3433 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Operator guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight PMenu guifg=#C1C1C2 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight PMenuSel guifg=#C1C1C2 guibg=#544D45 guisp=NONE blend=NONE gui=NONE
highlight PmenuSbar guifg=#747D86 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight PmenuThumb guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight PreProc guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Question guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Repeat guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Search guifg=#9DA0A4 guibg=#384042 guisp=NONE blend=NONE gui=NONE
highlight! link MiniTablineTabpagesection Search
highlight SignColumn guifg=#747D86 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight Special guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight SpecialChar guifg=#6D2C26 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight SpecialKey guifg=#9DA0A4 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight SpellBad guifg=#612723 guibg=NONE guisp=#612723 blend=NONE gui=underline
highlight SpellCap guifg=#384042 guibg=NONE guisp=#384042 blend=NONE gui=underline
highlight SpellLocal guifg=#7E8278 guibg=NONE guisp=#7E8278 blend=NONE gui=underline
highlight SpellRare guifg=#9CA894 guibg=NONE guisp=#9CA894 blend=NONE gui=underline
highlight Statement guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight StatusLine guifg=#C1C1C2 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight StatusLineNC guifg=#747D86 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight StatusLineTerm guifg=#363D3F guibg=#363D3F guisp=NONE blend=NONE gui=NONE
highlight StatusLineTermNC guifg=#384042 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight StorageClass guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight String guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Structure guifg=#9CA894 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight TabLine guifg=#9DA0A4 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight TabLineFill guifg=#9DA0A4 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight TabLineSel guifg=#363D3F guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight Tag guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Title guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=bold
highlight Todo guifg=#384042 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight TooLong guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Type guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Typedef guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight Underlined guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight VertSplit guifg=#C1C1C2 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight! link WinSeparator VertSplit
highlight Visual guifg=#0C0D0E guibg=#747D86 guisp=NONE blend=NONE gui=NONE
highlight VisualNOS guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight WarningMsg guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight WildMenu guifg=#C1C1C2 guibg=#544D45 guisp=NONE blend=NONE gui=NONE
highlight WinBar guifg=#C1C1C2 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight WinBarNC guifg=#747D86 guibg=#0C0D0E guisp=NONE blend=NONE gui=NONE
highlight gitCommitOverflow guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight gitCommitSummary guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight helpCommand guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight helpExample guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @attribute guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @boolean guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @character guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @character.special guifg=#6D2C26 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @comment guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=italic
highlight @conditional guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @constant guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @constant.builtin guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @constant.macro guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @constructor guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @debug guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @define guifg=#9CA894 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @exception guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @field guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @float guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @function guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @function.builtin guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @function.macro guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @include guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @keyword guifg=#9CA894 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @keyword.function guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @keyword.operator guifg=#9CA894 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @label guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @method guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @namespace guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @none guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @number guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @operator guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @parameter guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @preproc guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @property guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @punctuation.bracket guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @punctuation.delimiter guifg=#C1C1C2 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @punctuation.special guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=bold
highlight @repeat guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @storageclass guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @string guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @string.escape guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @string.regex guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @string.special guifg=#6D2C26 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @symbol guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @tag guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @tag.attribute guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @tag.delimiter guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text.bold guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=bold
highlight @text.danger guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text.diff.add guifg=#363D3F guibg=#57626B guisp=NONE blend=NONE gui=bold
highlight @text.diff.delete guifg=#612723 guibg=#57626B guisp=NONE blend=NONE gui=bold
highlight @text.emphasis guifg=#9CA894 guibg=NONE guisp=NONE blend=NONE gui=italic
highlight @text.environment guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text.environment.name guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text.literal guifg=#363D3F guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text.math guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text.note guifg=#7E8278 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text.reference guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @text.strike guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=strikethrough
highlight @text.title guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=bold
highlight @text.todo guifg=#384042 guibg=#57626B guisp=NONE blend=NONE gui=NONE
highlight @text.underline guifg=NONE guibg=NONE guisp=NONE blend=NONE gui=underline
highlight @text.uri guifg=NONE guibg=#57626B guisp=NONE blend=NONE gui=underline
highlight @type guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @type.builtin guifg=#544D45 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @type.definition guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @variable guifg=#384042 guibg=NONE guisp=NONE blend=NONE gui=NONE
highlight @variable.builtin guifg=#612723 guibg=NONE guisp=NONE blend=NONE gui=NONE

@ -1,89 +1,3 @@
--[[
=====================================================================
==================== READ THIS BEFORE CONTINUING ====================
=====================================================================
======== .-----. ========
======== .----------------------. | === | ========
======== |.-""""""""""""""""""-.| |-----| ========
======== || || | === | ========
======== || KICKSTART.NVIM || |-----| ========
======== || || | === | ========
======== || || |-----| ========
======== ||:Tutor || |:::::| ========
======== |'-..................-'| |____o| ========
======== `"")----------------(""` ___________ ========
======== /::::::::::| |::::::::::\ \ no mouse \ ========
======== /:::========| |==hjkl==:::\ \ required \ ========
======== '""""""""""""' '""""""""""""' '""""""""""' ========
======== ========
=====================================================================
=====================================================================
What is Kickstart?
Kickstart.nvim is *not* a distribution.
Kickstart.nvim is a starting point for your own configuration.
The goal is that you can read every line of code, top-to-bottom, understand
what your configuration is doing, and modify it to suit your needs.
Once you've done that, you can start exploring, configuring and tinkering to
make Neovim your own! That might mean leaving Kickstart just the way it is for a while
or immediately breaking it into modular pieces. It's up to you!
If you don't know anything about Lua, I recommend taking some time to read through
a guide. One possible example which will only take 10-15 minutes:
- https://learnxinyminutes.com/docs/lua/
After understanding a bit more about Lua, you can use `:help lua-guide` as a
reference for how Neovim integrates Lua.
- :help lua-guide
- (or HTML version): https://neovim.io/doc/user/lua-guide.html
Kickstart Guide:
TODO: The very first thing you should do is to run the command `:Tutor` in Neovim.
If you don't know what this means, type the following:
- <escape key>
- :
- Tutor
- <enter key>
(If you already know the Neovim basics, you can skip this step.)
Once you've completed that, you can continue working through **AND READING** the rest
of the kickstart init.lua.
Next, run AND READ `:help`.
This will open up a help window with some basic information
about reading, navigating and searching the builtin help documentation.
This should be the first place you go to look when you're stuck or confused
with something. It's one of my favorite Neovim features.
MOST IMPORTANTLY, we provide a keymap "<space>sh" to [s]earch the [h]elp documentation,
which is very useful when you're not exactly sure of what you're looking for.
I have left several `:help X` comments throughout the init.lua
These are hints about where to find more information about the relevant settings,
plugins or Neovim features used in Kickstart.
NOTE: Look for lines like this
Throughout the file. These are for you, the reader, to help you understand what is happening.
Feel free to delete them once you know what you're doing, but they should serve as a guide
for when you are first encountering a few different constructs in your Neovim config.
If you experience any errors while trying to install kickstart, run `:checkhealth` for more info.
I hope you enjoy your Neovim journey,
- TJ
P.S. You can delete this when you're done too. It's your config now! :)
--]]
-- Set <space> as the leader key
-- See `:help mapleader`
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
@ -91,13 +5,21 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = false
vim.g.have_nerd_font = true
-- Set the title to always be nvim (for hyprland)
-- vim.opt.title = true
-- vim.opt.titlestring = 'nvim'
-- [[ Setting options ]]
-- See `:help vim.o`
-- NOTE: You can change these options as you wish!
-- For more options, you can see `:help option-list`
vim.o.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
-- Make line numbers default
vim.o.number = true
-- You can also add relative line numbers, to help with jumping.
@ -159,7 +81,7 @@ vim.o.inccommand = 'split'
vim.o.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor.
vim.o.scrolloff = 10
vim.o.scrolloff = 15
-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
-- instead raise a dialog asking if you wish to save the current file(s)
@ -198,6 +120,10 @@ vim.keymap.set('n', '<C-h>', '<C-w><C-h>', { desc = 'Move focus to the left wind
vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right window' })
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
vim.keymap.set('i', 'jk', '<Esc>', { desc = 'jk to go backto normal mode' })
vim.keymap.set('n', ';', ':', { desc = '; to command mode in normal mode' })
vim.keymap.set('n', '<Tab>', ':tabnext<CR>', { desc = 'go to next tab' })
vim.keymap.set('n', '<S-Tab>', ':tabprevious<CR>', { desc = ' go to the previous tab using shift + tab' })
-- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes
-- vim.keymap.set("n", "<C-S-h>", "<C-w>H", { desc = "Move window to the left" })
@ -284,6 +210,66 @@ require('lazy').setup({
},
},
{
'echasnovski/mini.pairs',
event = 'InsertEnter',
config = function()
require('mini.pairs').setup()
end,
},
-- the everforest colorscheme from github
{
'neanias/everforest-nvim',
version = false,
lazy = false,
priority = 1000, -- make sure to load this before all the other start plugins
},
-- the kanagawa colorscheme
{
'rebelot/kanagawa.nvim',
version = false,
lazy = false,
priority = 1000,
},
-- the nightfox colorscheme
{
'EdenEast/nightfox.nvim',
},
-- the catpuccin colorscheme
{ 'catppuccin/nvim', name = 'catppuccin', priority = 1000 },
-- the onedark colorscheme
{
'olimorris/onedarkpro.nvim',
priority = 1000, -- Ensure it loads first
},
-- the oceanic-next colorscheme
{ 'mhartington/oceanic-next' },
-- the material colorscheme
{ 'marko-cerovac/material.nvim' },
-- the nord colorscheme
{
'shaunsingh/nord.nvim',
version = false,
lazy = false,
priority = 1000,
},
-- the bamboo colorscheme
{
'ribru17/bamboo.nvim',
version = false,
lazy = false,
priority = 1000,
},
-- NOTE: Plugins can also be configured to run Lua code when they are loaded.
--
-- This is often very useful to both group configuration, as well as handle
@ -671,17 +657,48 @@ require('lazy').setup({
-- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = {
-- clangd = {},
clangd = {
capabilities = capabilities,
cmd = {
'clangd',
'--background-index',
'--clang-tidy',
'--header-insertion=never',
'--completion-style=detailed',
'--function-arg-placeholders',
'--fallback-style=llvm',
},
filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda', 'proto' },
},
-- gopls = {},
-- pyright = {},
-- rust_analyzer = {},
pyright = {
settings = {
python = {
analysis = {
typeCheckingMode = 'basic',
},
},
},
},
rust_analyzer = {},
-- HTML / CSS
html = {},
cssls = {},
-- Emmet (for fast HTML/CSS snippets)
emmet_ls = {
filetypes = { 'html', 'css', 'scss', 'javascriptreact', 'typescriptreact', 'vue' },
},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
--
-- Some languages (like typescript) have entire language plugins that can be useful:
-- https://github.com/pmizio/typescript-tools.nvim
--
-- But for many setups, the LSP (`ts_ls`) will work just fine
-- ts_ls = {},
ts_ls = {},
--
lua_ls = {
@ -835,7 +852,7 @@ require('lazy').setup({
-- <c-k>: Toggle signature help
--
-- See :h blink-cmp-config-keymap for defining your own keymap
preset = 'default',
preset = 'super-tab',
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
@ -894,7 +911,7 @@ require('lazy').setup({
-- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'tokyonight-night'
vim.cmd.colorscheme 'bamboo'
end,
},
@ -973,7 +990,7 @@ require('lazy').setup({
-- Here are some example plugins that I've included in the Kickstart repository.
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
--
-- require 'kickstart.plugins.debug',
require 'kickstart.plugins.debug',
-- require 'kickstart.plugins.indent_line',
-- require 'kickstart.plugins.lint',
-- require 'kickstart.plugins.autopairs',

@ -0,0 +1,39 @@
{
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
"bamboo.nvim": { "branch": "master", "commit": "ab8393d1a314d96314605369b4b1e6bc7737f2b5" },
"blink.cmp": { "branch": "main", "commit": "bae4bae0eedd1fa55f34b685862e94a222d5c6f8" },
"catppuccin": { "branch": "main", "commit": "f67971cd3e30dd94061da8d61ee34742d43c632a" },
"conform.nvim": { "branch": "master", "commit": "973f3cb73887d510321653044791d7937c7ec0fa" },
"everforest-nvim": { "branch": "main", "commit": "2eb7c348f880ba93de4d98cae049c9441f5d4d49" },
"fidget.nvim": { "branch": "main", "commit": "4ec7bed6c86b671ddde03ca1b227343cfa3e65fa" },
"gitsigns.nvim": { "branch": "main", "commit": "8270378ab83540b03d09c0194ba3e208f9d0cb72" },
"guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" },
"kanagawa.nvim": { "branch": "master", "commit": "debe91547d7fb1eef34ce26a5106f277fbfdd109" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "844d247d998c2f9a6a3baad8bb9748edc55ce69f" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "86389a3dd687cfaa647b6f44731e492970034baa" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
"mason.nvim": { "branch": "main", "commit": "9e25c98d4826998460926f8c5c2284848d80ae89" },
"material.nvim": { "branch": "main", "commit": "0004ec60f91d581d47563a39f7dac62cb758f7ea" },
"mini.nvim": { "branch": "main", "commit": "efff26174ca363c059f92e906753db47e81d870b" },
"mini.pairs": { "branch": "main", "commit": "1e1ca3f60f58d4050bf814902b472eec9963a5dd" },
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
"nord.nvim": { "branch": "master", "commit": "80c1e5321505aeb22b7a9f23eb82f1e193c12470" },
"nvim-dap": { "branch": "master", "commit": "a479e25ed5b5d331fb46ee4b9e160ff02ac64310" },
"nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" },
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
"nvim-lspconfig": { "branch": "master", "commit": "d0dbf489a8810672fa9a61f4a86e5cf89214b772" },
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-web-devicons": { "branch": "master", "commit": "3362099de3368aa620a8105b19ed04c2053e38c0" },
"oceanic-next": { "branch": "master", "commit": "09833f72d5ba23de2e8bcae18f479f326f5f677a" },
"onedarkpro.nvim": { "branch": "main", "commit": "3891f6f8db49774aa861d08ddc7c18ad8f1340e9" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
"tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" },
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
}
Loading…
Cancel
Save