mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-29 13:46:02 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| aa70eab5fb | |||
| e5311ca285 |
@@ -15,3 +15,6 @@ trim_trailing_whitespace = true
|
||||
[*.md]
|
||||
max_line_length = off
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.json]
|
||||
max_line_length = off
|
||||
|
||||
@@ -19,6 +19,9 @@ vim.g.colors_variant_dark = 'tokyonight-storm'
|
||||
-- Make sure editorconfig support is enabled
|
||||
vim.g.editorconfig = true
|
||||
|
||||
-- Enable the colorcolumn
|
||||
vim.api.nvim_set_option_value('colorcolumn', '+1', { scope = 'global' })
|
||||
|
||||
-- Enable line numbers and relative line numbers
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
@@ -19,7 +19,8 @@ return {
|
||||
hide_preview = false,
|
||||
},
|
||||
},
|
||||
-- These two configs can also be passed down to the goto-preview definition and implementation calls for one off "peak" functionality.
|
||||
-- These two configs can also be passed down to the goto-preview definition
|
||||
-- and implementation calls for one off "peak" functionality.
|
||||
focus_on_open = true, -- Focus the floating window when opening it.
|
||||
dismiss_on_move = false, -- Dismiss the floating window when moving the cursor.
|
||||
force_close = true, -- passed into vim.api.nvim_win_close's second argument. See :h nvim_win_close
|
||||
|
||||
@@ -16,6 +16,28 @@ return {
|
||||
local builtin = require 'statuscol.builtin'
|
||||
require('statuscol').setup {
|
||||
relculright = true,
|
||||
ft_ignore = {
|
||||
'dashboard',
|
||||
'NvimTree',
|
||||
'help',
|
||||
'vim',
|
||||
'alpha',
|
||||
'dashboard',
|
||||
'neo-tree',
|
||||
'Trouble',
|
||||
'lazy',
|
||||
'toggleterm',
|
||||
},
|
||||
bt_ignore = {
|
||||
'help',
|
||||
'vim',
|
||||
'alpha',
|
||||
'dashboard',
|
||||
'neo-tree',
|
||||
'Trouble',
|
||||
'lazy',
|
||||
'toggleterm',
|
||||
},
|
||||
segments = {
|
||||
{
|
||||
text = { builtin.foldfunc },
|
||||
|
||||
@@ -136,6 +136,10 @@ return {
|
||||
},
|
||||
},
|
||||
|
||||
-- Display a character as the colorcolumn
|
||||
-- https://github.com/lukas-reineke/virt-column.nvim
|
||||
{ 'lukas-reineke/virt-column.nvim', opts = {} },
|
||||
|
||||
-- icons
|
||||
{
|
||||
'echasnovski/mini.icons',
|
||||
|
||||
Reference in New Issue
Block a user