some changes
This commit is contained in:
@@ -73,7 +73,7 @@ autocmd("BufWritePre", {
|
||||
})
|
||||
|
||||
-- Set specific options for certain filetypes
|
||||
augroup("FileTypeSettings", { clear = true })
|
||||
augroup("FileTypeSettings", { clear = false })
|
||||
|
||||
-- Go files: use tabs
|
||||
autocmd("FileType", {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
-- Custom keymaps
|
||||
local map = vim.keymap.set
|
||||
|
||||
|
||||
-- Terminal keymaps
|
||||
-- <leader>th - Open terminal in horizontal split
|
||||
map("n", "<leader>th", function()
|
||||
@@ -110,4 +111,4 @@ map("n", "<leader>xw", "<cmd>Trouble workspace_diagnostics<cr>")
|
||||
map("n", "<leader>xt", "<cmd>Trouble todo<cr>")
|
||||
|
||||
-- Git Support
|
||||
map("n", "<leader>gg", "<cmd>Neogit<cr>", { desc = "Neogit"})
|
||||
map("n", "<leader>gg", "<cmd>Neogit<cr>", { desc = "Neogit" })
|
||||
|
||||
@@ -6,7 +6,7 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
@@ -27,7 +27,7 @@ require("lazy").setup({
|
||||
"LazyVim/LazyVim",
|
||||
import = "lazyvim.plugins",
|
||||
opts = {
|
||||
colorscheme = "tokyonight",
|
||||
colorscheme = "catppuccin-mocha",
|
||||
},
|
||||
},
|
||||
-- Import LazyVim extras for languages
|
||||
@@ -46,7 +46,7 @@ require("lazy").setup({
|
||||
lazy = false,
|
||||
version = false,
|
||||
},
|
||||
install = { colorscheme = { "tokyonight", "habamax" } },
|
||||
install = { colorscheme = { "tokyonight", "habamax", "catpuccin-mocha" } },
|
||||
checker = {
|
||||
enabled = true,
|
||||
notify = false,
|
||||
|
||||
@@ -63,3 +63,7 @@ vim.diagnostic.config({
|
||||
border = "rounded",
|
||||
},
|
||||
})
|
||||
|
||||
-- Python
|
||||
vim.g.lazyvim_python_lsp = "pyright"
|
||||
vim.g.lazyvim_python_ruff = "ruff"
|
||||
|
||||
Reference in New Issue
Block a user