remove uneeded plugins
This commit is contained in:
parent
93bee8f078
commit
3a4c024194
3
init.lua
3
init.lua
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = "\\"
|
vim.g.maplocalleader = "\\"
|
||||||
@ -16,7 +15,7 @@ vim.opt.expandtab = true
|
|||||||
opt.shiftwidth = 8
|
opt.shiftwidth = 8
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
virtual_text = {
|
virtual_text = {
|
||||||
spacing = 2,
|
spacing = 4,
|
||||||
source = true,
|
source = true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@ -4,15 +4,13 @@
|
|||||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||||
"conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" },
|
"conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" },
|
||||||
"cord.nvim": { "branch": "master", "commit": "283e4a5bdafd0d6187f28e5b739cccab6b4c9c64" },
|
"cord.nvim": { "branch": "master", "commit": "283e4a5bdafd0d6187f28e5b739cccab6b4c9c64" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
|
|
||||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||||
"lspsaga.nvim": { "branch": "main", "commit": "562d9724e3869ffd1801c572dd149cc9f8d0cc36" },
|
"lspsaga.nvim": { "branch": "main", "commit": "562d9724e3869ffd1801c572dd149cc9f8d0cc36" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "a979821a975897b88493843301950c456a725982" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "a979821a975897b88493843301950c456a725982" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" },
|
"nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "e16cd38962bc40c22a51ee004aa4f43726d74a16" },
|
"nvim-treesitter": { "branch": "main", "commit": "875515255192864c33981c3ed66ad94e561b904a" },
|
||||||
"nvim-treesitter": { "branch": "main", "commit": "53f6ce29df5841ce26e5a9f06fb371088b8d8031" },
|
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
||||||
"snacks.nvim": { "branch": "main", "commit": "a049339328e2599ad6e85a69fa034ac501e921b2" }
|
"snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,11 +4,8 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
jsonc = { "prettierd", "prettier", stop_after_first = true },
|
|
||||||
c = { "clang-format" },
|
c = { "clang-format" },
|
||||||
cpp = { "clang-format" },
|
cpp = { "clang-format" },
|
||||||
sh = { "shfmt" },
|
|
||||||
bash = { "shfmt" },
|
|
||||||
},
|
},
|
||||||
formatters = {
|
formatters = {
|
||||||
["clang-format"] = {
|
["clang-format"] = {
|
||||||
@ -32,7 +29,7 @@ return {
|
|||||||
{
|
{
|
||||||
"saghen/blink.cmp",
|
"saghen/blink.cmp",
|
||||||
-- optional: provides snippets for the snippet source
|
-- optional: provides snippets for the snippet source
|
||||||
dependencies = { "rafamadriz/friendly-snippets", "neovim/nvim-lspconfig" },
|
dependencies = { "neovim/nvim-lspconfig" },
|
||||||
|
|
||||||
-- use a release tag to download pre-built binaries
|
-- use a release tag to download pre-built binaries
|
||||||
version = "1.*",
|
version = "1.*",
|
||||||
|
|||||||
@ -1,7 +1,9 @@
|
|||||||
local default_theme = "base16-oceanicnext"
|
local default_theme = "base16-oceanicnext"
|
||||||
|
|
||||||
local function get_tinty_theme()
|
local function get_tinty_theme()
|
||||||
local theme_name = vim.fn.system("tinty -d /home/lucy/.local/share/tinted-theming/tinty/ current &> /dev/null && tinty -d /home/lucy/.local/share/tinted-theming/tinty/ current")
|
local theme_name = vim.fn.system(
|
||||||
|
"tinty -d /home/lucy/.local/share/tinted-theming/tinty/ current &> /dev/null && tinty -d /home/lucy/.local/share/tinted-theming/tinty/ current"
|
||||||
|
)
|
||||||
|
|
||||||
if vim.v.shell_error ~= 0 then
|
if vim.v.shell_error ~= 0 then
|
||||||
return default_theme
|
return default_theme
|
||||||
@ -32,15 +34,6 @@ local function main()
|
|||||||
end
|
end
|
||||||
return {
|
return {
|
||||||
|
|
||||||
{
|
|
||||||
"nvim-tree/nvim-tree.lua",
|
|
||||||
version = "*",
|
|
||||||
lazy = false,
|
|
||||||
dependencies = {
|
|
||||||
"nvim-tree/nvim-web-devicons",
|
|
||||||
},
|
|
||||||
opts = {},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"RRethy/base16-nvim",
|
"RRethy/base16-nvim",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
@ -74,9 +67,6 @@ return {
|
|||||||
"nvim-tree/nvim-web-devicons", -- for pretty icons
|
"nvim-tree/nvim-web-devicons", -- for pretty icons
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
ui = {
|
|
||||||
border = "rounded",
|
|
||||||
},
|
|
||||||
symbol_in_winbar = { enable = true },
|
symbol_in_winbar = { enable = true },
|
||||||
lightbulb = {
|
lightbulb = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user