add hop support, added basic documentation
authorshaunsingh <shaunsingh0207@gmail.com>
Thu, 22 Jul 2021 18:55:45 +0000 (14:55 -0400)
committershaunsingh <shaunsingh0207@gmail.com>
Thu, 22 Jul 2021 18:55:45 +0000 (14:55 -0400)
doc/nord.txt [new file with mode: 0644]
doc/tags.txt [new file with mode: 0644]
lua/nord/theme.lua

diff --git a/doc/nord.txt b/doc/nord.txt
new file mode 100644 (file)
index 0000000..1ab7f2c
--- /dev/null
@@ -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 (file)
index 0000000..05f47ce
--- /dev/null
@@ -0,0 +1,3 @@
+nord   nord.txt        /*nord*
+nord-features  nord.txt        /*nord-features*
+nord-usage     nord.txt        /*nord-usage*
index 69093e59e6324e5560e03d94368c55090a8cc799..be5da3eb0c0f69a215f5afab63a7dc7ff39092e7 100644 (file)
@@ -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: