mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-17 16:21:12 +02:00
With working terraformls, autocompletion and comments
This commit is contained in:
parent
5aeddfdd5d
commit
413d04d444
24 changed files with 447 additions and 50 deletions
31
lua/custom/plugins/alpha-nvim.lua
Normal file
31
lua/custom/plugins/alpha-nvim.lua
Normal file
|
@ -0,0 +1,31 @@
|
|||
return {
|
||||
'goolord/alpha-nvim',
|
||||
dependencies = {
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
},
|
||||
|
||||
config = function()
|
||||
local alpha = require 'alpha'
|
||||
local dashboard = require 'alpha.themes.startify'
|
||||
|
||||
dashboard.section.header.val = {
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ████ ██████ █████ ██ ]],
|
||||
[[ ███████████ █████ ]],
|
||||
[[ █████████ ███████████████████ ███ ███████████ ]],
|
||||
[[ █████████ ███ █████████████ █████ ██████████████ ]],
|
||||
[[ █████████ ██████████ █████████ █████ █████ ████ █████ ]],
|
||||
[[ ███████████ ███ ███ █████████ █████ █████ ████ █████ ]],
|
||||
[[ ██████ █████████████████████ ████ █████ █████ ████ ██████ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
[[ ]],
|
||||
}
|
||||
|
||||
alpha.setup(dashboard.opts)
|
||||
end,
|
||||
}
|
9
lua/custom/plugins/ayu.lua
Normal file
9
lua/custom/plugins/ayu.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
'ayu-theme/ayu-vim', -- or other package manager
|
||||
config = function()
|
||||
vim.o.termguicolors = true -- enable true colors support
|
||||
local ayucolor = 'light' -- for light version of theme
|
||||
-- local ayucolor = 'mirage' -- for mirage version of theme
|
||||
-- local ayucolor = 'dark' -- for dark version of theme
|
||||
end,
|
||||
}
|
10
lua/custom/plugins/bamboo.lua
Normal file
10
lua/custom/plugins/bamboo.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
return -- Using lazy.nvim
|
||||
{
|
||||
'ribru17/bamboo.nvim',
|
||||
lazy = false,
|
||||
config = function()
|
||||
require('bamboo').setup {
|
||||
-- optional configuration here
|
||||
}
|
||||
end,
|
||||
}
|
1
lua/custom/plugins/catppuccin.lua
Normal file
1
lua/custom/plugins/catppuccin.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'catppuccin/nvim', name = 'catppuccin', priority = 1000 }
|
6
lua/custom/plugins/comment.nvim.lua
Normal file
6
lua/custom/plugins/comment.nvim.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
'numToStr/Comment.nvim',
|
||||
opts = {
|
||||
-- add any options here
|
||||
},
|
||||
}
|
1
lua/custom/plugins/completions.lua
Normal file
1
lua/custom/plugins/completions.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return {}
|
1
lua/custom/plugins/fahrenheit.lua
Normal file
1
lua/custom/plugins/fahrenheit.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'fcpg/vim-fahrenheit' }
|
1
lua/custom/plugins/gruvbox-material.lua
Normal file
1
lua/custom/plugins/gruvbox-material.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'sainnhe/gruvbox-material' }
|
1
lua/custom/plugins/gruvbox.lua
Normal file
1
lua/custom/plugins/gruvbox.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'ellisonleao/gruvbox.nvim' }
|
1
lua/custom/plugins/kanagawa.lua
Normal file
1
lua/custom/plugins/kanagawa.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'rebelot/kanagawa.nvim' }
|
1
lua/custom/plugins/material.lua
Normal file
1
lua/custom/plugins/material.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'marko-cerovac/material.nvim' }
|
1
lua/custom/plugins/mellow.lua
Normal file
1
lua/custom/plugins/mellow.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'mellow-theme/mellow.nvim' }
|
5
lua/custom/plugins/miasma.lua
Normal file
5
lua/custom/plugins/miasma.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
'xero/miasma.nvim',
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
}
|
2
lua/custom/plugins/miramare.lua
Normal file
2
lua/custom/plugins/miramare.lua
Normal file
|
@ -0,0 +1,2 @@
|
|||
-- theme
|
||||
return { 'franbach/miramare' }
|
245
lua/custom/plugins/neotree.lua
Normal file
245
lua/custom/plugins/neotree.lua
Normal file
|
@ -0,0 +1,245 @@
|
|||
return {
|
||||
{
|
||||
'nvim-neo-tree/neo-tree.nvim',
|
||||
branch = 'v3.x',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
||||
'MunifTanjim/nui.nvim',
|
||||
{
|
||||
's1n7ax/nvim-window-picker',
|
||||
version = '2.*',
|
||||
config = function()
|
||||
require('window-picker').setup {
|
||||
filter_rules = {
|
||||
include_current_win = false,
|
||||
autoselect_one = true,
|
||||
bo = {
|
||||
filetype = { 'neo-tree', 'neo-tree-popup', 'notify' },
|
||||
buftype = { 'terminal', 'quickfix' },
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
vim.fn.sign_define('DiagnosticSignError', { text = ' ', texthl = 'DiagnosticSignError' })
|
||||
vim.fn.sign_define('DiagnosticSignWarn', { text = ' ', texthl = 'DiagnosticSignWarn' })
|
||||
vim.fn.sign_define('DiagnosticSignInfo', { text = ' ', texthl = 'DiagnosticSignInfo' })
|
||||
vim.fn.sign_define('DiagnosticSignHint', { text = '', texthl = 'DiagnosticSignHint' })
|
||||
|
||||
require('neo-tree').setup {
|
||||
close_if_last_window = false,
|
||||
popup_border_style = 'rounded',
|
||||
enable_git_status = true,
|
||||
enable_diagnostics = true,
|
||||
open_files_do_not_replace_types = { 'terminal', 'trouble', 'qf' },
|
||||
sort_case_insensitive = false,
|
||||
sort_function = nil,
|
||||
default_component_configs = {
|
||||
container = {
|
||||
enable_character_fade = true,
|
||||
},
|
||||
indent = {
|
||||
indent_size = 2,
|
||||
padding = 1,
|
||||
with_markers = true,
|
||||
indent_marker = '│',
|
||||
last_indent_marker = '└',
|
||||
highlight = 'NeoTreeIndentMarker',
|
||||
with_expanders = nil,
|
||||
expander_collapsed = '',
|
||||
expander_expanded = '',
|
||||
expander_highlight = 'NeoTreeExpander',
|
||||
},
|
||||
icon = {
|
||||
folder_closed = '',
|
||||
folder_open = '',
|
||||
folder_empty = '',
|
||||
default = '*',
|
||||
highlight = 'NeoTreeFileIcon',
|
||||
},
|
||||
modified = {
|
||||
symbol = '[+]',
|
||||
highlight = 'NeoTreeModified',
|
||||
},
|
||||
name = {
|
||||
trailing_slash = false,
|
||||
use_git_status_colors = true,
|
||||
highlight = 'NeoTreeFileName',
|
||||
},
|
||||
git_status = {
|
||||
symbols = {
|
||||
added = '',
|
||||
modified = '',
|
||||
deleted = '✖',
|
||||
renamed = '',
|
||||
untracked = '',
|
||||
ignored = '',
|
||||
unstaged = '',
|
||||
staged = '',
|
||||
conflict = '',
|
||||
},
|
||||
},
|
||||
file_size = {
|
||||
enabled = true,
|
||||
required_width = 64,
|
||||
},
|
||||
type = {
|
||||
enabled = true,
|
||||
required_width = 122,
|
||||
},
|
||||
last_modified = {
|
||||
enabled = true,
|
||||
required_width = 88,
|
||||
},
|
||||
created = {
|
||||
enabled = true,
|
||||
required_width = 110,
|
||||
},
|
||||
symlink_target = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
commands = {},
|
||||
window = {
|
||||
position = 'left',
|
||||
width = 40,
|
||||
mapping_options = {
|
||||
noremap = true,
|
||||
nowait = true,
|
||||
},
|
||||
mappings = {
|
||||
['<space>'] = { 'toggle_node', nowait = false },
|
||||
['<2-LeftMouse>'] = 'open',
|
||||
['<cr>'] = 'open',
|
||||
['<esc>'] = 'cancel',
|
||||
['P'] = { 'toggle_preview', config = { use_float = true, use_image_nvim = true } },
|
||||
['l'] = 'focus_preview',
|
||||
['S'] = 'open_split',
|
||||
['s'] = 'open_vsplit',
|
||||
['t'] = 'open_tabnew',
|
||||
['w'] = 'open_with_window_picker',
|
||||
['C'] = 'close_node',
|
||||
['z'] = 'close_all_nodes',
|
||||
['a'] = {
|
||||
'add',
|
||||
config = {
|
||||
show_path = 'none',
|
||||
},
|
||||
},
|
||||
['A'] = 'add_directory',
|
||||
['d'] = 'delete',
|
||||
['r'] = 'rename',
|
||||
['y'] = 'copy_to_clipboard',
|
||||
['x'] = 'cut_to_clipboard',
|
||||
['p'] = 'paste_from_clipboard',
|
||||
['c'] = 'copy',
|
||||
['m'] = 'move',
|
||||
['q'] = 'close_window',
|
||||
['R'] = 'refresh',
|
||||
['?'] = 'show_help',
|
||||
['<'] = 'prev_source',
|
||||
['>'] = 'next_source',
|
||||
['i'] = 'show_file_details',
|
||||
},
|
||||
},
|
||||
nesting_rules = {},
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = false,
|
||||
hide_dotfiles = true,
|
||||
hide_gitignored = true,
|
||||
hide_hidden = true,
|
||||
hide_by_name = {},
|
||||
hide_by_pattern = {},
|
||||
always_show = {},
|
||||
never_show = {},
|
||||
never_show_by_pattern = {},
|
||||
},
|
||||
follow_current_file = {
|
||||
enabled = false,
|
||||
leave_dirs_open = false,
|
||||
},
|
||||
group_empty_dirs = false,
|
||||
hijack_netrw_behavior = 'open_default',
|
||||
use_libuv_file_watcher = false,
|
||||
window = {
|
||||
mappings = {
|
||||
['<bs>'] = 'navigate_up',
|
||||
['.'] = 'set_root',
|
||||
['H'] = 'toggle_hidden',
|
||||
['/'] = 'fuzzy_finder',
|
||||
['D'] = 'fuzzy_finder_directory',
|
||||
['#'] = 'fuzzy_sorter',
|
||||
['f'] = 'filter_on_submit',
|
||||
['<c-x>'] = 'clear_filter',
|
||||
['[g'] = 'prev_git_modified',
|
||||
[']g'] = 'next_git_modified',
|
||||
['o'] = { 'show_help', nowait = false, config = { title = 'Order by', prefix_key = 'o' } },
|
||||
['oc'] = { 'order_by_created', nowait = false },
|
||||
['od'] = { 'order_by_diagnostics', nowait = false },
|
||||
['om'] = { 'order_by_modified', nowait = false },
|
||||
['on'] = { 'order_by_name', nowait = false },
|
||||
['os'] = { 'order_by_size', nowait = false },
|
||||
['ot'] = { 'order_by_type', nowait = false },
|
||||
},
|
||||
fuzzy_finder_mappings = {
|
||||
['<down>'] = 'move_cursor_down',
|
||||
['<C-n>'] = 'move_cursor_down',
|
||||
['<up>'] = 'move_cursor_up',
|
||||
['<C-p>'] = 'move_cursor_up',
|
||||
},
|
||||
},
|
||||
commands = {},
|
||||
},
|
||||
buffers = {
|
||||
follow_current_file = {
|
||||
enabled = true,
|
||||
leave_dirs_open = false,
|
||||
},
|
||||
group_empty_dirs = true,
|
||||
show_unloaded = true,
|
||||
window = {
|
||||
mappings = {
|
||||
['bd'] = 'buffer_delete',
|
||||
['<bs>'] = 'navigate_up',
|
||||
['.'] = 'set_root',
|
||||
['o'] = { 'show_help', nowait = false, config = { title = 'Order by', prefix_key = 'o' } },
|
||||
['oc'] = { 'order_by_created', nowait = false },
|
||||
['od'] = { 'order_by_diagnostics', nowait = false },
|
||||
['om'] = { 'order_by_modified', nowait = false },
|
||||
['on'] = { 'order_by_name', nowait = false },
|
||||
['os'] = { 'order_by_size', nowait = false },
|
||||
['ot'] = { 'order_by_type', nowait = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
git_status = {
|
||||
window = {
|
||||
position = 'float',
|
||||
mappings = {
|
||||
['A'] = 'git_add_all',
|
||||
['gu'] = 'git_unstage_file',
|
||||
['ga'] = 'git_add_file',
|
||||
['gr'] = 'git_revert_file',
|
||||
['gc'] = 'git_commit',
|
||||
['gp'] = 'git_push',
|
||||
['gg'] = 'git_commit_and_push',
|
||||
['o'] = { 'show_help', nowait = false, config = { title = 'Order by', prefix_key = 'o' } },
|
||||
['oc'] = { 'order_by_created', nowait = false },
|
||||
['od'] = { 'order_by_diagnostics', nowait = false },
|
||||
['om'] = { 'order_by_modified', nowait = false },
|
||||
['on'] = { 'order_by_name', nowait = false },
|
||||
['os'] = { 'order_by_size', nowait = false },
|
||||
['ot'] = { 'order_by_type', nowait = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
vim.cmd [[nnoremap \ :Neotree reveal<cr>]]
|
||||
end,
|
||||
},
|
||||
}
|
3
lua/custom/plugins/nord.lua
Normal file
3
lua/custom/plugins/nord.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'shaunsingh/nord.nvim'
|
||||
}
|
1
lua/custom/plugins/nvim-colorizer.lua
Normal file
1
lua/custom/plugins/nvim-colorizer.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'norcalli/nvim-colorizer.lua' }
|
1
lua/custom/plugins/nvim-nio.lua
Normal file
1
lua/custom/plugins/nvim-nio.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'nvim-neotest/nvim-nio' }
|
2
lua/custom/plugins/rainbow-delimeters.lua
Normal file
2
lua/custom/plugins/rainbow-delimeters.lua
Normal file
|
@ -0,0 +1,2 @@
|
|||
-- return { 'HiPhish/rainbow-delimiters.nvim' }
|
||||
return {}
|
1
lua/custom/plugins/rosepine.lua
Normal file
1
lua/custom/plugins/rosepine.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { 'rose-pine/neovim', as = 'rose-pine' }
|
3
lua/custom/plugins/tomorrow-theme.lua
Normal file
3
lua/custom/plugins/tomorrow-theme.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'timmajani/tokyonightnoir-vim',
|
||||
}
|
5
lua/custom/plugins/typescript-tools.lua
Normal file
5
lua/custom/plugins/typescript-tools.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
'pmizio/typescript-tools.nvim',
|
||||
dependencies = { 'nvim-lua/plenary.nvim', 'neovim/nvim-lspconfig' },
|
||||
opts = {},
|
||||
}
|
8
lua/custom/plugins/ultimate-autopair.lua
Normal file
8
lua/custom/plugins/ultimate-autopair.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
'altermo/ultimate-autopair.nvim',
|
||||
event = { 'InsertEnter', 'CmdlineEnter' },
|
||||
branch = 'v0.6', --recommended as each new version will have breaking changes
|
||||
opts = {
|
||||
--Config goes here
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue