From 0a6c79b143d154b0118ef9a4b7db7c7ff4b88edb Mon Sep 17 00:00:00 2001 From: shaunsingh Date: Thu, 22 Jul 2021 14:55:45 -0400 Subject: [PATCH] add hop support, added basic documentation --- doc/nord.txt | 72 ++++++++++++++++++++++++++++++++++++++++++++++ doc/tags.txt | 3 ++ lua/nord/theme.lua | 9 +++++- 3 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 doc/nord.txt create mode 100644 doc/tags.txt diff --git a/doc/nord.txt b/doc/nord.txt new file mode 100644 index 0000000..1ab7f2c --- /dev/null +++ b/doc/nord.txt @@ -0,0 +1,72 @@ +================================================================================ + +nord is a colorscheme for NeoVim written in Lua with built in support +for native LSP, TreeSitter and many more plugins. + +================================================================================ +CONTENTS + + 1. Features ................. |nord-features| + 2. Usage .................... |nord-usage| + 3. Styles ................... |nord-styles| + 4. Configuration ............ |nord-configuration| + 5. Functions ................ |nord-functions| + 6. Mappings ................. |nord-mappings| + +================================================================================ +1. Features *nord-features* + + + A wide array of supported plugins -TreeSitter + -LSP Diagnostics + -LSP Saga + -LSP Trouble + -Nvim-Compe + -Git Gutter + -Git Messenger + -Git Signs + -Telescope.nvim + -Nvim-Tree.lua + -NERDTree + -Indent-Blankline.nvim + -Vim-Which-Key + -WhichKey.nvim + -Dashboard + -BufferLine + -Lualine + -Neogit + -Vim-Sneak + -Nvim-Dap + -Vim-Illuminate + + + Ability to have a different background on sidebar windows like Nvim-Tree, + Terminal, Packer, Whichkey, QuickFix etc. + + + Asynchronous highlight loading which makes the theme extremely fast + + + Added functions for live style switching, without the need to reload + NeoVim + +================================================================================ +2. Usage *nord-usage* + + To use the default settings, just apply the theme + + If you are using Vim-Script: + colorscheme nord~ + + If you are using Lua: + require('nord').set~ + + + nord also includes a Lualine theme. Set it in your Lualine config + require('lualine').setup {~ + options = {~ + -- ... your lualine config + theme = 'nord'~ + -- ... your lualine config + }~ + }~ + Just make sure to set the theme to "nord", as "nord" already + exist built in to lualine + +vim:tw=78:ts=4:ft=help:norl: diff --git a/doc/tags.txt b/doc/tags.txt new file mode 100644 index 0000000..05f47ce --- /dev/null +++ b/doc/tags.txt @@ -0,0 +1,3 @@ +nord nord.txt /*nord* +nord-features nord.txt /*nord-features* +nord-usage nord.txt /*nord-usage* diff --git a/lua/nord/theme.lua b/lua/nord/theme.lua index 69093e5..be5da3e 100644 --- a/lua/nord/theme.lua +++ b/lua/nord/theme.lua @@ -403,7 +403,14 @@ theme.loadPlugins = function() DapBreakpoint = { fg = nord.nord14_gui}, DapStopped = { fg = nord.nord15_gui}, - + -- Hop + HopNextKey = { fg = nord.accent, style = 'bold' }, + HopNextKey1 = { fg = nord.purple, style = 'bold' }, + HopNextKey2 = { fg = nord.nord3_gui_bright}, + HopUnmatched = { fg = nord.comments }, + + -- Fern + FernBranchText = { fg = nord.nord3_gui_bright}, } -- Options: -- 2.39.5