mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Lots of futzing about
This commit is contained in:
parent
f1d80f0827
commit
e9b33b2f86
@ -1,6 +1,10 @@
|
||||
{
|
||||
"gruvbox.nvim": { "branch": "main", "commit": "1a8ba635e511148801b55a1128aef933c296a301" },
|
||||
"kanagawa.nvim": { "branch": "master", "commit": "5c4037432f0ae2d0b75d3a7b7cfa3022d7054e4d" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "57cce98dfdb2f2dd05a0567d89811e6d0505e13b" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "c28a7427c3fb29322db136f0564ec58807b26747" },
|
||||
"neo-tree.nvim": { "branch": "v2.x", "commit": "2b2f74828eeb02cf29d6b21aa32eedadadc94ca7" },
|
||||
"nordic.nvim": { "branch": "main", "commit": "fc7ea160bb441f9c0245c2719a3c7b8c22468178" },
|
||||
"nui.nvim": { "branch": "main", "commit": "1f43b13d133eb4b4f53a4485379d9afa58808389" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "411e771d511442ab81670701f5c830f6c74aadd7" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "b55fe6175f0001347a433c9df358c8cbf8a4e90f" },
|
||||
@ -8,5 +12,6 @@
|
||||
"onedark.nvim": { "branch": "master", "commit": "dd640f6cfb0e370cfd3db389f04b172508848bd3" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "942fe5faef47b21241e970551eba407bc10d9547" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "1b0c88094548a62641ece1e668fa9a234e1c539e" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "4b73390eec680b4c061ea175eb32c0ff3412271d" }
|
||||
}
|
||||
3
config/nvim/lua/config/plugins/lualine.lua
Normal file
3
config/nvim/lua/config/plugins/lualine.lua
Normal file
@ -0,0 +1,3 @@
|
||||
return function()
|
||||
require('lualine').setup()
|
||||
end
|
||||
8
config/nvim/lua/config/plugins/neo-tree.lua
Normal file
8
config/nvim/lua/config/plugins/neo-tree.lua
Normal file
@ -0,0 +1,8 @@
|
||||
return function()
|
||||
-- Unless you are still migrating, remove the deprecated commands from v1.x
|
||||
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
||||
|
||||
require("neo-tree").setup({
|
||||
hijack_netrw_behavior = "open_default"
|
||||
})
|
||||
end
|
||||
36
config/nvim/lua/config/plugins/tree-sitter.lua
Normal file
36
config/nvim/lua/config/plugins/tree-sitter.lua
Normal file
@ -0,0 +1,36 @@
|
||||
return {
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
context_commentstring = { enable = true, enable_autocmd = false },
|
||||
ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"css",
|
||||
"dockerfile",
|
||||
"eex",
|
||||
"elixir",
|
||||
"help",
|
||||
"html",
|
||||
"javascript",
|
||||
"json",
|
||||
"lua",
|
||||
"luadoc",
|
||||
"luap",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"python",
|
||||
"query",
|
||||
"regex",
|
||||
"ruby",
|
||||
"rust",
|
||||
"scss",
|
||||
"sql",
|
||||
"swift",
|
||||
"toml",
|
||||
"tsx",
|
||||
"typescript",
|
||||
"vim",
|
||||
"vue",
|
||||
"yaml",
|
||||
},
|
||||
}
|
||||
10
config/nvim/lua/config/plugins/which-key.lua
Normal file
10
config/nvim/lua/config/plugins/which-key.lua
Normal file
@ -0,0 +1,10 @@
|
||||
return function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
|
||||
require("which-key").setup({
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
})
|
||||
end
|
||||
9
config/nvim/lua/plugins/lualine.lua
Normal file
9
config/nvim/lua/plugins/lualine.lua
Normal file
@ -0,0 +1,9 @@
|
||||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
|
||||
config = require("config.plugins.lualine")
|
||||
}
|
||||
11
config/nvim/lua/plugins/neo-tree.lua
Normal file
11
config/nvim/lua/plugins/neo-tree.lua
Normal file
@ -0,0 +1,11 @@
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
|
||||
config = require("config.plugins.neo-tree")
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
|
||||
config = function ()
|
||||
-- Unless you are still migrating, remove the deprecated commands from v1.x
|
||||
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
||||
|
||||
require("neo-tree").setup({
|
||||
hijack_netrw_behavior = "open_default"
|
||||
})
|
||||
end
|
||||
}
|
||||
@ -1,4 +1,5 @@
|
||||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
|
||||
dependencies = { "nvim-lua/plenary.nvim" }
|
||||
}
|
||||
|
||||
@ -1,8 +1,11 @@
|
||||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
|
||||
build = ":TSUpdate",
|
||||
|
||||
event = { "BufReadPost", "BufNewFile" },
|
||||
|
||||
dependencies = {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||
@ -27,41 +30,6 @@ return {
|
||||
},
|
||||
|
||||
---@type TSConfig
|
||||
opts = {
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
context_commentstring = { enable = true, enable_autocmd = false },
|
||||
ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"css",
|
||||
"dockerfile",
|
||||
"eex",
|
||||
"elixir",
|
||||
"help",
|
||||
"html",
|
||||
"javascript",
|
||||
"json",
|
||||
"lua",
|
||||
"luadoc",
|
||||
"luap",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"python",
|
||||
"query",
|
||||
"regex",
|
||||
"ruby",
|
||||
"rust",
|
||||
"scss",
|
||||
"sql",
|
||||
"swift",
|
||||
"toml",
|
||||
"tsx",
|
||||
"typescript",
|
||||
"vim",
|
||||
"vue",
|
||||
"yaml",
|
||||
},
|
||||
},
|
||||
opts = require("config.plugins.tree-sitter")
|
||||
},
|
||||
}
|
||||
5
config/nvim/lua/plugins/which-key.lua
Normal file
5
config/nvim/lua/plugins/which-key.lua
Normal file
@ -0,0 +1,5 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
|
||||
config = require("config.plugins.which-key")
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
|
||||
config = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
require("which-key").setup({
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
})
|
||||
end,
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user