diff --git a/LICENSE b/LICENSE deleted file mode 100644 index a66904b..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021 Rob Wilson - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md index 8e72773..b0b031c 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,27 @@ A dark low-contrast Neovim theme. ![Screenshot](https://user-images.githubusercontent.com/226654/204131002-5ee1650b-784b-499a-b1c9-e28bd55250b6.png) +-- visually distinguish precedence of most useful stuff +-- see relationships with fades across related stuff +-- use greys for most stuff, so tuneable with main color + ## :hammer_and_wrench: Install -``` -use { "roobert/nightshift.vim", requires = "rktjmp/lush.nvim" } +```lua +{ + "roobert/nightshift.nvim", + lazy = false, + priority = 1000, + config = function() + require("nightshift").setup({ + -- night or dusk + palette = "dark", + -- bright or pastel + accent = "pastel", + }) + vim.cmd([[colorscheme nightshift]]) + end, +} ``` ## :squid: Usage @@ -18,8 +35,27 @@ use { "roobert/nightshift.vim", requires = "rktjmp/lush.nvim" } colorscheme nightshift ``` +## Border Config + +LazyVim + +``` +ui = { border = "rounded" } +``` + +## Italic Support in Iterm2 + +TODO + ## :snake: Supported Plugins -* Bufferline -* Lualine -* Trouble +- Bufferline +- Lualine +- Trouble + +## :snake: Improved Languages + +These languages have been improved specific treesitter based syntax highlighting: + +- python +- terraform/hcl diff --git a/colors/nightshift.lua b/colors/nightshift.lua new file mode 100644 index 0000000..2ffac73 --- /dev/null +++ b/colors/nightshift.lua @@ -0,0 +1 @@ +require("nightshift").load() diff --git a/colors/nightshift.vim b/colors/nightshift.vim deleted file mode 100644 index 97c07cb..0000000 --- a/colors/nightshift.vim +++ /dev/null @@ -1,8 +0,0 @@ -set background=dark - -let g:colors_name="nightshift" - -lua package.loaded['nightshift.theme'] = nil -lua require('lush')(require('nightshift.theme')) -lua require('lspconfig.ui.windows').default_options.border = 'single' - diff --git a/lua/lualine/themes/nightshift.lua b/lua/lualine/themes/nightshift.lua deleted file mode 100644 index 739b5cb..0000000 --- a/lua/lualine/themes/nightshift.lua +++ /dev/null @@ -1,53 +0,0 @@ --- stylua: ignore start - -local colors = { - white = "#dddddd", - grey = "#888888", - black = "#000000", - - -- slightly darkened accent colors - green = "#88cccc", - blue = "#88bbee", - yellow = "#ffeedd", - red = "#ee9999", - - dark_blue = "#232a4d", - mid_blue = "#232a4d", -} - -return { - -- - -- | A | B | C ------------- X | Y | Z - -- - - inactive = { - c = { fg = colors.grey, bg = colors.dark_blue }, - a = { fg = colors.white, bg = colors.red, gui = 'bold' }, - b = { fg = colors.white, bg = colors.mid_blue }, - }, - - -- grey - normal = { - c = { fg = colors.grey, bg = colors.dark_blue }, - a = { fg = colors.black, bg = colors.grey, gui = 'bold' }, - b = { fg = colors.white, bg = colors.mid_blue }, - }, - - -- green - insert = { - a = { fg = colors.black, bg = colors.green, gui = 'bold' }, - b = { fg = colors.white, bg = colors.mid_blue }, - }, - - -- blue - visual = { - a = { fg = colors.black, bg = colors.blue, gui = 'bold' }, - b = { fg = colors.grey, bg = colors.mid_blue }, - }, - - -- orange - replace = { - a = { fg = colors.black, bg = colors.red, gui = 'bold' }, - b = { fg = colors.grey, bg = colors.mid_blue }, - }, -} diff --git a/lua/nightshift/highlights.lua b/lua/nightshift/highlights.lua new file mode 100644 index 0000000..2150036 --- /dev/null +++ b/lua/nightshift/highlights.lua @@ -0,0 +1,206 @@ +local p = require("nightshift.theme") + +-- Exmaple mappings table entry: +-- { "", "", "", "