Compare commits
10 Commits
9658c92328
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99f0695822 | ||
|
|
5f6e47a72d | ||
|
|
21c4301a1f | ||
|
|
52d77f40a8 | ||
|
|
0470b59038 | ||
|
|
98cda5907e | ||
|
|
aa1e191ba4 | ||
|
|
d126888f9d | ||
|
|
81f8dafc1a | ||
|
|
ad145ee75c |
@@ -7,7 +7,7 @@ be as light and simple as possible.
|
||||
_**Note**: I won't add new features/parts/themes if I don't need them. Feel free
|
||||
to submit PRs or fork the plugin though._
|
||||
|
||||

|
||||

|
||||
|
||||
## Installation
|
||||
With [packer.nvim](https://github.com/wbthomason/packer.nvim):
|
||||
@@ -36,7 +36,7 @@ You can pass options to the `setup()` function. Here are all available options
|
||||
with their default settings:
|
||||
```lua
|
||||
require('hardline').setup {
|
||||
bufferline = false, -- enable bufferline
|
||||
bufferline = false, -- disable bufferline
|
||||
bufferline_settings = {
|
||||
exclude_terminal = false, -- don't show terminal buffers in bufferline
|
||||
show_index = false, -- show buffer indexes (not the actual buffer numbers) in bufferline
|
||||
|
||||
@@ -28,6 +28,7 @@ M.options = {
|
||||
{class = 'error', item = require('hardline.parts.lsp').get_error},
|
||||
{class = 'warning', item = require('hardline.parts.lsp').get_warning},
|
||||
{class = 'warning', item = require('hardline.parts.whitespace').get_item},
|
||||
{class = 'high', item= require('hardline.parts.lsp').get_lsp_clients},
|
||||
{class = 'high', item = require('hardline.parts.filetype').get_item, hide = 60},
|
||||
{class = 'mode', item = require('hardline.parts.line').get_item},
|
||||
},
|
||||
|
||||
@@ -35,7 +35,7 @@ local function get_lsp_clients()
|
||||
for _, client in pairs(clients) do
|
||||
table.insert(c, client.name)
|
||||
end
|
||||
return table.concat(c, "|")
|
||||
return table.concat(c, "│")
|
||||
end
|
||||
|
||||
return {
|
||||
|
||||
79
lua/hardline/themes/catppuccin_minimal.lua
Normal file
79
lua/hardline/themes/catppuccin_minimal.lua
Normal file
@@ -0,0 +1,79 @@
|
||||
local colors = {
|
||||
transparent = {gui = 'NONE', cterm = '16', cterm16 = '0'},
|
||||
grey_medium = {gui = '#1E1E2E', cterm = '17', cterm16 = '0'},
|
||||
grey_inactive = {gui = '#7E84A0', cterm = '61', cterm16 = '8'},
|
||||
grey_light = {gui = '#969DBC', cterm = '69', cterm16 = '7'},
|
||||
black = {gui = '#07070A', cterm = '16', cterm16 = '0'},
|
||||
white = {gui = '#AEB7D9', cterm = '189', cterm16 = '15'},
|
||||
red = {gui = '#F38BA8', cterm = '218', cterm16 = '9'},
|
||||
yellow = {gui = '#F9E2AF', cterm = '223', cterm16 = '11'},
|
||||
}
|
||||
|
||||
local inactive = {
|
||||
guifg = colors.grey_inactive.gui,
|
||||
guibg = colors.transparent.gui,
|
||||
ctermfg = colors.grey_inactive.cterm,
|
||||
ctermbg = colors.transparent.cterm,
|
||||
}
|
||||
|
||||
local common_light = {
|
||||
guifg = colors.black.gui,
|
||||
guibg = colors.grey_light.gui,
|
||||
ctermfg = colors.black.cterm,
|
||||
ctermbg = colors.grey_light.cterm,
|
||||
}
|
||||
|
||||
local common_dark = {
|
||||
guifg = colors.white.gui,
|
||||
guibg = colors.grey_medium.gui,
|
||||
ctermfg = colors.white.cterm,
|
||||
ctermbg = colors.grey_medium.cterm,
|
||||
}
|
||||
|
||||
return {
|
||||
mode = {
|
||||
inactive = inactive,
|
||||
normal = common_light,
|
||||
insert = common_light,
|
||||
replace = common_light,
|
||||
visual = common_light,
|
||||
command = common_light,
|
||||
},
|
||||
low = {
|
||||
active = common_dark,
|
||||
inactive = inactive,
|
||||
},
|
||||
med = {
|
||||
active = common_dark,
|
||||
inactive = inactive,
|
||||
},
|
||||
high = {
|
||||
active = common_dark,
|
||||
inactive = inactive,
|
||||
},
|
||||
error = {
|
||||
active = {
|
||||
guifg = colors.red.gui,
|
||||
guibg = colors.grey_medium.gui,
|
||||
ctermfg = colors.red.cterm,
|
||||
ctermbg = colors.grey_medium.cterm,
|
||||
},
|
||||
inactive = inactive,
|
||||
},
|
||||
warning = {
|
||||
active = {
|
||||
guifg = colors.yellow.gui,
|
||||
guibg = colors.grey_medium.gui,
|
||||
ctermfg = colors.yellow.cterm,
|
||||
ctermbg = colors.grey_medium.cterm,
|
||||
},
|
||||
inactive = inactive,
|
||||
},
|
||||
bufferline = {
|
||||
separator = inactive,
|
||||
current = common_light,
|
||||
current_modified = common_light,
|
||||
background = inactive,
|
||||
background_modified = inactive,
|
||||
},
|
||||
}
|
||||
@@ -1,15 +1,15 @@
|
||||
local colors = {
|
||||
black = {gui = '#282C34', cterm = '235', cterm16 = '0'},
|
||||
blue = {gui = '#61AFEF', cterm = '39', cterm16 = '4'},
|
||||
cyan = { gui = '#56B6C2', cterm = '38', cterm16 = '6'},
|
||||
green = {gui = '#98C379', cterm = '114', cterm16 = '2'},
|
||||
grey_comment = {gui = '#5C6370', cterm = '59', cterm16 = '15'},
|
||||
grey_cursor = {gui = '#2C323C', cterm = '236', cterm16 = '8'},
|
||||
grey_menu = {gui = '#3E4452', cterm = '237', cterm16 = '8'},
|
||||
purple = {gui = '#C678DD', cterm = '170', cterm16 = '5'},
|
||||
red = {gui = '#E06C75', cterm = '204', cterm16 = '1'},
|
||||
white = {gui = '#ABB2BF', cterm = '145', cterm16 = '7'},
|
||||
yellow = {gui = '#E5C07B', cterm = '180', cterm16 = '3'},
|
||||
black = {gui = '#181926', cterm = '235', cterm16 = '0'},
|
||||
blue = {gui = '#8aadf4', cterm = '39', cterm16 = '4'},
|
||||
cyan = { gui = '#91d7e3', cterm = '38', cterm16 = '6'},
|
||||
green = {gui = '#a6da95', cterm = '114', cterm16 = '2'},
|
||||
grey_comment = {gui = '#a5adcb', cterm = '59', cterm16 = '15'},
|
||||
grey_cursor = {gui = '#494d64', cterm = '236', cterm16 = '8'},
|
||||
grey_menu = {gui = '#5b6078', cterm = '237', cterm16 = '8'},
|
||||
purple = {gui = '#F5BDE6', cterm = '170', cterm16 = '5'},
|
||||
red = {gui = '#ed8796', cterm = '204', cterm16 = '1'},
|
||||
white = {gui = '#cad3f5', cterm = '145', cterm16 = '7'},
|
||||
yellow = {gui = '#eed49f', cterm = '180', cterm16 = '3'},
|
||||
}
|
||||
|
||||
local inactive = {
|
||||
|
||||
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
|
Before Width: | Height: | Size: 69 KiB |
Reference in New Issue
Block a user