mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-12 05:48:17 +00:00
chore(nvim): autosession, configs, tweaks
This commit is contained in:
@@ -38,6 +38,8 @@ o.splitright = true -- vsplit to the right
|
|||||||
o.termguicolors = true -- Enable GUI colors
|
o.termguicolors = true -- Enable GUI colors
|
||||||
o.timeoutlen = 250 -- Decrease mapped sequence wait time
|
o.timeoutlen = 250 -- Decrease mapped sequence wait time
|
||||||
o.updatetime = 250 -- 250 ms = 2,5 seconds
|
o.updatetime = 250 -- 250 ms = 2,5 seconds
|
||||||
|
o.sessionoptions =
|
||||||
|
'blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions'
|
||||||
|
|
||||||
-- Enable the colorcolumn
|
-- Enable the colorcolumn
|
||||||
vim.api.nvim_set_option_value('colorcolumn', '+1', { scope = 'global' })
|
vim.api.nvim_set_option_value('colorcolumn', '+1', { scope = 'global' })
|
||||||
|
|||||||
@@ -134,7 +134,6 @@ return {
|
|||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
'nvim-tree/nvim-web-devicons',
|
'nvim-tree/nvim-web-devicons',
|
||||||
},
|
},
|
||||||
---@type LspsagaConfig
|
|
||||||
opts = {
|
opts = {
|
||||||
code_action = {
|
code_action = {
|
||||||
show_server_name = true,
|
show_server_name = true,
|
||||||
@@ -192,6 +191,7 @@ return {
|
|||||||
auto_install = true,
|
auto_install = true,
|
||||||
auto_update = true,
|
auto_update = true,
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
|
'actionlint',
|
||||||
'editorconfig-checker',
|
'editorconfig-checker',
|
||||||
'goimports',
|
'goimports',
|
||||||
'gotests',
|
'gotests',
|
||||||
|
|||||||
@@ -1,4 +1,21 @@
|
|||||||
return {
|
return {
|
||||||
|
{
|
||||||
|
'rmagatti/auto-session',
|
||||||
|
lazy = false,
|
||||||
|
version = '*',
|
||||||
|
---@module "auto-session"
|
||||||
|
---@type AutoSession.Config
|
||||||
|
opts = {
|
||||||
|
suppressed_dirs = {
|
||||||
|
'/',
|
||||||
|
'~/',
|
||||||
|
'~/Downloads',
|
||||||
|
'~/Library',
|
||||||
|
},
|
||||||
|
-- log_level = 'debug',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
'nvim-lua/plenary.nvim',
|
'nvim-lua/plenary.nvim',
|
||||||
version = '*',
|
version = '*',
|
||||||
|
|||||||
Reference in New Issue
Block a user