Skip to content

Commit

Permalink
Fix neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
pinpox committed Mar 20, 2024
1 parent 9a6c713 commit c2a9c68
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
8 changes: 4 additions & 4 deletions home-manager/modules/nvim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ in
require('config.devicons')
require('config.cmp')
require('config.which-key')
-- require('config.bufferline') -- https://github.com/akinsho/bufferline.nvim/issues/271
require('config.cokeline') -- https://github.com/akinsho/bufferline.nvim/issues/271
require('config.bufferline') -- https://github.com/akinsho/bufferline.nvim/issues/271
-- require('config.cokeline') -- https://github.com/akinsho/bufferline.nvim/issues/271
require('config.lualine')
require('config.gitsigns')
-- require('config.zk')
Expand Down Expand Up @@ -141,9 +141,9 @@ in
# vim-indent-object
# vim-markdown # Disabled because of https://github.com/plasticboy/vim-markdown/issues/461
# vim-vinegar
# bufferline-nvim
bufferline-nvim
# i3config-vim
nvim-cokeline
# nvim-cokeline
nvim-fzf
fzf-lua
indent-blankline-nvim-lua
Expand Down
2 changes: 1 addition & 1 deletion home-manager/modules/nvim/lua/config/bufferline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require'bufferline'.setup{
numbers = function(opts)
return string.format('%s', opts.ordinal)
end,
buffer_close_icon= '',
-- buffer_close_icon= '',
modified_icon = '',
close_icon = '',
left_trunc_marker = '',
Expand Down
20 changes: 19 additions & 1 deletion home-manager/modules/nvim/lua/config/pinpox-colors.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
local Color, c, Group, g, s = require("colorbuddy").setup()
-- local Color, c, Group, g, s = require("colorbuddy").setup()


local colorbuddy = require('colorbuddy')

-- Set up your custom colorscheme if you want
-- colorbuddy.colorscheme("my-colorscheme-name")

-- And then modify as you like
local Color = colorbuddy.Color
local c = colorbuddy.colors
local Group = colorbuddy.Group
local g = colorbuddy.groups
local s = colorbuddy.styles


local b = s.bold
local i = s.italic
local n = s.inverse
Expand All @@ -9,6 +24,9 @@ local sto = s.standout
local no = s.NONE
local v = vim




-- TODO Think of a better colorscheme name
v.g.colors_name = 'generated'

Expand Down

0 comments on commit c2a9c68

Please sign in to comment.