feat: ghostty -> havoc, fish -> yash, dwl -> river-classic, more minimal rofi configuration ; fix: nvim rust-analyzer ; docs: update preview screenshot
This commit is contained in:
@@ -10,7 +10,7 @@ vim.opt.softtabstop = 4
|
||||
vim.opt.wildmenu = true
|
||||
vim.opt.undofile = true
|
||||
vim.opt.termguicolors = true
|
||||
vim.opt.shell = "fish"
|
||||
vim.opt.shell = "yash"
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.splitright = true
|
||||
vim.opt.winborder = "rounded"
|
||||
@@ -29,6 +29,7 @@ vim.keymap.set("n", "<leader>q", function()
|
||||
vim.cmd("hori term")
|
||||
vim.cmd("startinsert")
|
||||
end, {})
|
||||
|
||||
vim.keymap.set("t", "<esc><esc>", "", {})
|
||||
|
||||
vim.pack.add({
|
||||
@@ -45,7 +46,12 @@ vim.pack.add({
|
||||
"https://github.com/ej-shafran/compile-mode.nvim",
|
||||
"https://github.com/m00qek/baleia.nvim",
|
||||
"https://github.com/nvim-lualine/lualine.nvim",
|
||||
"https://github.com/stevearc/oil.nvim"
|
||||
"https://github.com/stevearc/oil.nvim",
|
||||
"https://github.com/folke/lazydev.nvim",
|
||||
})
|
||||
|
||||
require("lazydev").setup({
|
||||
ft = "lua",
|
||||
})
|
||||
|
||||
require("oil").setup({
|
||||
@@ -69,7 +75,7 @@ vim.g.compile_mode = {
|
||||
buffer_name = "*compile*",
|
||||
baleia_setup = true,
|
||||
}
|
||||
vim.keymap.set("n", "<leader>c", "<cmd>Recompile<cr>", {silent = true})
|
||||
vim.keymap.set("n", "<leader>c", "<cmd>Recompile<cr>", { silent = true })
|
||||
|
||||
local file_types = { "rust", "zig", "haskell", "c", "cpp" }
|
||||
require("nvim-treesitter").install(file_types)
|
||||
@@ -117,7 +123,7 @@ cmp.setup({
|
||||
{ name = "emoji" },
|
||||
{ keywordLength = 3, name = "buffer", option = { get_bufnrs = vim.api.nvim_list_bufs } },
|
||||
{ keywordLength = 3, name = "path" },
|
||||
{ keywordLength = 3, name = "luasnip" },
|
||||
{ name = "lazydev" },
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
@@ -157,8 +163,10 @@ vim.lsp.config("nil_ls", { cmd = { "nil" }, filetypes = { "nix" } })
|
||||
vim.lsp.enable("nil_ls")
|
||||
vim.lsp.config("nixd", { cmd = { "nixd" }, filetypes = { "nix" } })
|
||||
vim.lsp.enable("nixd")
|
||||
vim.lsp.config("pyright", { cmd = { "pyright" }, filetypes = { "python" } })
|
||||
vim.lsp.config("pyright", { cmd = { "pyright-langserver", "--stdio" }, filetypes = { "python" } })
|
||||
vim.lsp.enable("pyright")
|
||||
vim.lsp.config("rust-analyzer", { cmd = { "rust-analyzer" }, filetypes = { "rust" } })
|
||||
vim.lsp.enable("rust-analyzer")
|
||||
vim.lsp.config("zls", { cmd = { "zls" }, filetypes = { "zig" } })
|
||||
vim.lsp.enable("zls")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user