mirror of
https://codeberg.org/JasterV/dotfiles.git
synced 2026-04-26 18:40:04 +00:00
feat: improve ui
This commit is contained in:
parent
4c8770ef38
commit
98977a4495
6 changed files with 105 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
"friendly-snippets": { "branch": "main", "commit": "53d3df271d031c405255e99410628c26a8f0d2b0" },
|
"friendly-snippets": { "branch": "main", "commit": "53d3df271d031c405255e99410628c26a8f0d2b0" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "d195f0c35ced5174d3ecce1c4c8ebb3b5bc23fa9" },
|
"gitsigns.nvim": { "branch": "main", "commit": "d195f0c35ced5174d3ecce1c4c8ebb3b5bc23fa9" },
|
||||||
"headlines.nvim": { "branch": "master", "commit": "e3d7bfdf40e41a020d966d35f8b48d75b90367d2" },
|
"headlines.nvim": { "branch": "master", "commit": "e3d7bfdf40e41a020d966d35f8b48d75b90367d2" },
|
||||||
|
"inc-rename.nvim": { "branch": "main", "commit": "6f9b5f9cb237e12935144cdc535322b8c93c1b25" },
|
||||||
"incline.nvim": { "branch": "main", "commit": "fdd7e08a6e3d0dd8d9aa02428861fa30c37ba306" },
|
"incline.nvim": { "branch": "main", "commit": "fdd7e08a6e3d0dd8d9aa02428861fa30c37ba306" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "3c8a185da4b8ab7aef487219f5e001b11d4b6aaf" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "3c8a185da4b8ab7aef487219f5e001b11d4b6aaf" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
|
"lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
|
||||||
|
|
|
||||||
8
.config/nvim/lua/plugins/coding.lua
Normal file
8
.config/nvim/lua/plugins/coding.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
-- Incremental rename
|
||||||
|
{
|
||||||
|
"smjonas/inc-rename.nvim",
|
||||||
|
cmd = "IncRename",
|
||||||
|
config = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -4,4 +4,9 @@ return {
|
||||||
"nvim-neo-tree/neo-tree.nvim",
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
enabled = false,
|
enabled = false,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"folke/flash.nvim",
|
||||||
|
enabled = false,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
28
.config/nvim/lua/plugins/lsp.lua
Normal file
28
.config/nvim/lua/plugins/lsp.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
return {
|
||||||
|
-- tools
|
||||||
|
{
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
opts = function(_, opts)
|
||||||
|
vim.list_extend(opts.ensure_installed, {
|
||||||
|
"codelldb",
|
||||||
|
"docker-compose-language-service",
|
||||||
|
"dockerfile-language-server",
|
||||||
|
"elixir-ls",
|
||||||
|
"eslint-lsp",
|
||||||
|
"json-lsp",
|
||||||
|
"markdownlint",
|
||||||
|
"prettier",
|
||||||
|
"rust-analyzer",
|
||||||
|
"shfmt",
|
||||||
|
"shellcheck",
|
||||||
|
-- TOML toolkit
|
||||||
|
"taplo",
|
||||||
|
"typescript-language-server",
|
||||||
|
"yaml-language-server",
|
||||||
|
"lua-language-server",
|
||||||
|
"stylua",
|
||||||
|
"luacheck",
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
30
.config/nvim/lua/plugins/treesitter.lua
Normal file
30
.config/nvim/lua/plugins/treesitter.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"cmake",
|
||||||
|
"cpp",
|
||||||
|
"css",
|
||||||
|
"gitignore",
|
||||||
|
"go",
|
||||||
|
"graphql",
|
||||||
|
"http",
|
||||||
|
"rust",
|
||||||
|
"scss",
|
||||||
|
"sql",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
config = function(_, opts)
|
||||||
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
|
|
||||||
|
-- MDX
|
||||||
|
vim.filetype.add({
|
||||||
|
extension = {
|
||||||
|
mdx = "mdx",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
vim.treesitter.language.register("markdown", "mdx")
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -71,4 +71,37 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- statusline
|
||||||
|
{
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = {
|
||||||
|
options = {
|
||||||
|
-- globalstatus = false,
|
||||||
|
theme = "solarized_dark",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Dashboard
|
||||||
|
{
|
||||||
|
"nvimdev/dashboard-nvim",
|
||||||
|
event = "VimEnter",
|
||||||
|
opts = function(_, opts)
|
||||||
|
local logo = [[
|
||||||
|
|
||||||
|
██╗ █████╗ ███████╗████████╗███████╗██████╗ ██╗ ██╗
|
||||||
|
██║██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██║ ██║
|
||||||
|
██║███████║███████╗ ██║ █████╗ ██████╔╝██║ ██║
|
||||||
|
██ ██║██╔══██║╚════██║ ██║ ██╔══╝ ██╔══██╗╚██╗ ██╔╝
|
||||||
|
╚█████╔╝██║ ██║███████║ ██║ ███████╗██║ ██║ ╚████╔╝
|
||||||
|
╚════╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═══╝
|
||||||
|
|
||||||
|
]]
|
||||||
|
|
||||||
|
logo = string.rep("\n", 8) .. logo .. "\n\n"
|
||||||
|
opts.config.header = vim.split(logo, "\n")
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue