Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Jan 20, 2024
1 parent 3251ec6 commit 9b1d2b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion lua/core/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ local function get_signs(name)
local it = vim
.iter(api.nvim_buf_get_extmarks(bufnr, -1, 0, -1, { details = true, type = 'sign' }))
:find(function(item)
return item[2] == vim.v.lnum - 1 and item[4].sign_hl_group:find(name)
return item[2] == vim.v.lnum - 1
and item[4].sign_hl_group
and item[4].sign_hl_group:find(name)
end)
return not it and ' ' or '%#' .. it[4].sign_hl_group .. '#' .. it[4].sign_text .. '%*'
end
Expand Down
1 change: 0 additions & 1 deletion lua/modules/editor/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ function config.nvim_treesitter()
'markdown_inline',
'json',
'jsonc',
'vimdoc',
},
highlight = {
enable = true,
Expand Down
3 changes: 1 addition & 2 deletions lua/modules/ui/package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ local conf = require('modules.ui.config')
packadd({
'nvimdev/nightsky.vim',
config = function()
vim.cmd('colorscheme nightsky')
vim.cmd.colorscheme('nightsky')
end,
})

packadd({
'nvimdev/dashboard-nvim',
event = 'VimEnter',
dev = true,
config = conf.dashboard,
dependencies = { 'nvim-tree/nvim-web-devicons' },
})
Expand Down

0 comments on commit 9b1d2b8

Please sign in to comment.