save
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
xsetroot -name "$(date)"
|
xsetroot -name "$() $(date)"
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|||||||
6
nvim/.config/nvim/lsp/rust-analyzer.lua
Normal file
6
nvim/.config/nvim/lsp/rust-analyzer.lua
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---@type vim.lsp.Config
|
||||||
|
return {
|
||||||
|
cmd = { 'rust-analyzer' },
|
||||||
|
filetypes = { 'rs' },
|
||||||
|
root_markers = { 'Cargo.toml' },
|
||||||
|
}
|
||||||
@@ -3,6 +3,7 @@ vim.lsp.enable {
|
|||||||
"gopls",
|
"gopls",
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"clangd",
|
"clangd",
|
||||||
|
"rust-analyzer",
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.diagnostic.config { virtual_text = true, underline = true, signs = false }
|
vim.diagnostic.config { virtual_text = true, underline = true, signs = false }
|
||||||
|
|||||||
@@ -1,18 +1,15 @@
|
|||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
vim.pack.add {
|
vim.pack.add {
|
||||||
{ src = "https://github.com/mason-org/mason.nvim" },
|
|
||||||
{ src = "https://github.com/nvim-mini/mini.pick" },
|
{ src = "https://github.com/nvim-mini/mini.pick" },
|
||||||
{ src = "https://github.com/rafamadriz/friendly-snippets" },
|
{ src = "https://github.com/rafamadriz/friendly-snippets" },
|
||||||
{
|
{
|
||||||
src = "https://github.com/saghen/blink.cmp",
|
src = "https://github.com/saghen/blink.cmp",
|
||||||
version = "1.*",
|
version = "1.*",
|
||||||
},
|
},
|
||||||
{ src = "https://github.com/tpope/vim-fugitive" },
|
|
||||||
{ src = "https://github.com/nvim-lualine/lualine.nvim" },
|
{ src = "https://github.com/nvim-lualine/lualine.nvim" },
|
||||||
}
|
}
|
||||||
|
|
||||||
require("mason").setup {}
|
|
||||||
require("mini.pick").setup {}
|
require("mini.pick").setup {}
|
||||||
require("lualine").setup {}
|
require("lualine").setup {}
|
||||||
|
|
||||||
|
|||||||
@@ -1,57 +1,25 @@
|
|||||||
{
|
{
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"alpha-nvim": {
|
|
||||||
"rev": "3979b01cb05734331c7873049001d3f2bb8477f4",
|
|
||||||
"src": "https://github.com/goolord/alpha-nvim"
|
|
||||||
},
|
|
||||||
"blink.cmp": {
|
"blink.cmp": {
|
||||||
"rev": "d0c5196dae32c53cde1208161554906f5b982de8",
|
"rev": "d0c5196dae32c53cde1208161554906f5b982de8",
|
||||||
"src": "https://github.com/saghen/blink.cmp",
|
"src": "https://github.com/saghen/blink.cmp",
|
||||||
"version": "'1.*'"
|
"version": "'1.*'"
|
||||||
},
|
},
|
||||||
"cyberdream.nvim": {
|
|
||||||
"rev": "a43b45423e8494898c353c0604e0b2e4e99bd056",
|
|
||||||
"src": "https://github.com/scottmckendry/cyberdream.nvim"
|
|
||||||
},
|
|
||||||
"friendly-snippets": {
|
"friendly-snippets": {
|
||||||
"rev": "572f5660cf05f8cd8834e096d7b4c921ba18e175",
|
"rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9",
|
||||||
"src": "https://github.com/rafamadriz/friendly-snippets"
|
"src": "https://github.com/rafamadriz/friendly-snippets"
|
||||||
},
|
},
|
||||||
"lualine.nvim": {
|
"lualine.nvim": {
|
||||||
"rev": "47f91c416daef12db467145e16bed5bbfe00add8",
|
"rev": "47f91c416daef12db467145e16bed5bbfe00add8",
|
||||||
"src": "https://github.com/nvim-lualine/lualine.nvim"
|
"src": "https://github.com/nvim-lualine/lualine.nvim"
|
||||||
},
|
},
|
||||||
"mason.nvim": {
|
|
||||||
"rev": "57e5a8addb8c71fb063ee4acda466c7cf6ad2800",
|
|
||||||
"src": "https://github.com/mason-org/mason.nvim"
|
|
||||||
},
|
|
||||||
"mini.pick": {
|
"mini.pick": {
|
||||||
"rev": "0c56dc3ef9b15e9659ce09331fdc82449349701b",
|
"rev": "8521fe21df86e08d9e4b3c3f3a7d50e47954e1af",
|
||||||
"src": "https://github.com/nvim-mini/mini.pick"
|
"src": "https://github.com/nvim-mini/mini.pick"
|
||||||
},
|
},
|
||||||
"nvim-web-devicons": {
|
"snacks.nvim": {
|
||||||
"rev": "6788013bb9cb784e606ada44206b0e755e4323d7",
|
"rev": "fe7cfe9800a182274d0f868a74b7263b8c0c020b",
|
||||||
"src": "https://github.com/nvim-tree/nvim-web-devicons"
|
"src": "https://github.com/folke/snacks.nvim"
|
||||||
},
|
|
||||||
"orgmode": {
|
|
||||||
"rev": "cf75da1a91071c6c041075eae4ca2326f9d1f52a",
|
|
||||||
"src": "https://github.com/nvim-orgmode/orgmode"
|
|
||||||
},
|
|
||||||
"rainbow-delimiters.nvim": {
|
|
||||||
"rev": "d6b802552cbe7d643a3b6b31f419c248d1f1e220",
|
|
||||||
"src": "https://gitlab.com/HiPhish/rainbow-delimiters.nvim"
|
|
||||||
},
|
|
||||||
"simplyfile.nvim": {
|
|
||||||
"rev": "c4dfc0f3431898c3abbef267b226f6cdd2a67b38",
|
|
||||||
"src": "https://github.com/Rizwanelansyah/simplyfile.nvim"
|
|
||||||
},
|
|
||||||
"vim-fugitive": {
|
|
||||||
"rev": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4",
|
|
||||||
"src": "https://github.com/tpope/vim-fugitive"
|
|
||||||
},
|
|
||||||
"zen-mode.nvim": {
|
|
||||||
"rev": "8564ce6d29ec7554eb9df578efa882d33b3c23a7",
|
|
||||||
"src": "https://github.com/folke/zen-mode.nvim"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user