mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-01 20:47:42 +00:00
chore: linting
This commit is contained in:
@@ -56,9 +56,12 @@ return {
|
||||
opts = {
|
||||
snippets = { preset = 'luasnip' },
|
||||
-- 'default' for mappings similar to built-in completion
|
||||
-- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate)
|
||||
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
|
||||
-- see the "default configuration" section below for full documentation on how to
|
||||
-- 'super-tab' for mappings similar to vscode (tab to accept,
|
||||
-- arrow keys to navigate)
|
||||
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to
|
||||
-- accept
|
||||
-- see the "default configuration" section below for
|
||||
-- documentation on how to
|
||||
-- define your own keymap.
|
||||
keymap = {
|
||||
preset = 'default',
|
||||
|
||||
@@ -11,6 +11,27 @@ return {
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
'ivuorinen/nvim-shellspec',
|
||||
ft = 'shellspec',
|
||||
config = function()
|
||||
require('shellspec').setup {
|
||||
auto_format = true,
|
||||
indent_size = 2,
|
||||
indent_comments = true,
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
'pablos123/shellcheck.nvim',
|
||||
config = function()
|
||||
require('shellcheck-nvim').setup {
|
||||
shellcheck_options = { '-x' },
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
||||
-- Go development plugin for Vim
|
||||
-- https://github.com/fatih/vim-go
|
||||
{
|
||||
|
||||
@@ -16,7 +16,8 @@ return {
|
||||
},
|
||||
opts = {
|
||||
lsp = {
|
||||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||
-- override markdown rendering so that **cmp** and other plugins
|
||||
-- use **Treesitter**
|
||||
override = {
|
||||
['vim.lsp.util.convert_input_to_markdown_lines'] = true,
|
||||
['vim.lsp.util.stylize_markdown'] = true,
|
||||
|
||||
@@ -54,7 +54,9 @@ return {
|
||||
event_handlers = {
|
||||
{
|
||||
event = 'file_opened',
|
||||
handler = function(_) require('neo-tree.command').execute { action = 'close' } end,
|
||||
handler = function(_)
|
||||
require('neo-tree.command').execute { action = 'close' }
|
||||
end,
|
||||
},
|
||||
},
|
||||
default_component_configs = {
|
||||
|
||||
@@ -6,9 +6,9 @@ return {
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
config = function()
|
||||
require('everforest').setup {
|
||||
background = 'soft', -- hard, medium, soft
|
||||
transparent_background_level = 0, -- 0, 1, 2
|
||||
sign_column_background = 'none', -- none, dimmed, normal
|
||||
background = 'medium', -- hard, medium, soft
|
||||
transparent_background_level = 2, -- 0, 1, 2
|
||||
sign_column_background = 'grey', -- none, grey
|
||||
disable_italic_comments = false,
|
||||
diagnostic_virtual_text = 'coloured', -- coloured, gray, underline, none
|
||||
diagnostic_line_highlight = true,
|
||||
@@ -27,26 +27,6 @@ return {
|
||||
end,
|
||||
},
|
||||
|
||||
-- {
|
||||
-- 'rose-pine/neovim',
|
||||
-- name = 'rose-pine',
|
||||
-- opts = {
|
||||
-- dim_inactive_windows = false,
|
||||
-- extend_background_behind_borders = true,
|
||||
-- styles = {
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- transparency = true,
|
||||
-- },
|
||||
-- enable = {
|
||||
-- terminal = true,
|
||||
-- legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
|
||||
-- migrations = true, -- Handle deprecated options automatically
|
||||
-- },
|
||||
-- },
|
||||
-- config = function() vim.cmd 'colorscheme rose-pine' end,
|
||||
-- },
|
||||
|
||||
-- Automatic dark mode
|
||||
-- https://github.com/f-person/auto-dark-mode.nvim
|
||||
{
|
||||
@@ -80,35 +60,37 @@ return {
|
||||
|
||||
-- Remove all background colors to make nvim transparent
|
||||
-- https://github.com/xiyaowong/nvim-transparent
|
||||
-- {
|
||||
-- 'xiyaowong/nvim-transparent',
|
||||
-- lazy = false,
|
||||
-- enabled = false,
|
||||
-- config = function()
|
||||
-- local t = require 'transparent'
|
||||
-- t.setup {
|
||||
-- extra_groups = {
|
||||
-- 'NormalNC',
|
||||
-- 'NormalFloat',
|
||||
-- 'FloatTitle',
|
||||
-- 'FloatBorder',
|
||||
-- 'NotifyDEBUGBorder',
|
||||
-- 'NotifyERRORBorder',
|
||||
-- 'NotifyINFOBorder',
|
||||
-- 'NotifyINFOBorder73',
|
||||
-- 'NotifyINFOBorder75',
|
||||
-- 'NotifyINFOBorder101',
|
||||
-- 'NotifyTRACEBorder',
|
||||
-- 'NotifyWARNBorder',
|
||||
-- 'TelescopeBorder',
|
||||
-- 'TelescopePromptBorder',
|
||||
-- 'TelescopeResultsBorder',
|
||||
-- 'TelescopePreviewBorder',
|
||||
-- },
|
||||
-- }
|
||||
-- t.clear_prefix 'NeoTree'
|
||||
-- end,
|
||||
-- },
|
||||
{
|
||||
'xiyaowong/nvim-transparent',
|
||||
lazy = false,
|
||||
enabled = true,
|
||||
config = function()
|
||||
local t = require 'transparent'
|
||||
t.setup {
|
||||
extra_groups = {
|
||||
'NormalNC',
|
||||
'NormalFloat',
|
||||
'EndOfBuffer',
|
||||
'FloatTitle',
|
||||
'FloatBorder',
|
||||
'NotifyDEBUGBorder',
|
||||
'NotifyERRORBorder',
|
||||
'NotifyINFOBorder',
|
||||
'NotifyINFOBorder73',
|
||||
'NotifyINFOBorder75',
|
||||
'NotifyINFOBorder101',
|
||||
'NotifyTRACEBorder',
|
||||
'NotifyWARNBorder',
|
||||
'NotifyBackground',
|
||||
'TelescopeBorder',
|
||||
'TelescopePromptBorder',
|
||||
'TelescopeResultsBorder',
|
||||
'TelescopePreviewBorder',
|
||||
},
|
||||
}
|
||||
t.clear_prefix 'NeoTree'
|
||||
end,
|
||||
},
|
||||
|
||||
-- Display a character as the colorcolumn
|
||||
-- https://github.com/lukas-reineke/virt-column.nvim
|
||||
|
||||
Reference in New Issue
Block a user