Update theme and lsp format command

This commit is contained in:
Saeed Afzal
2022-11-28 12:55:29 +00:00
parent 70101dc1e2
commit cb7a400557
4 changed files with 5 additions and 5 deletions

View File

@@ -49,4 +49,4 @@ require("catppuccin").setup {
}
}
-- vim.cmd [[colorscheme catppuccin]]
vim.cmd [[colorscheme catppuccin]]

View File

@@ -1,7 +1,7 @@
require("lualine").setup {
options = {
-- theme = "catppuccin"
theme = "tokyonight"
theme = "catppuccin"
-- theme = "tokyonight"
},
extensions = {

View File

@@ -3,4 +3,4 @@ require("tokyonight").setup {
lualine_bold = true
}
vim.cmd [[colorscheme tokyonight]]
-- vim.cmd [[colorscheme tokyonight]]

View File

@@ -22,7 +22,7 @@ wk.register({
name = "LSP",
r = { "<cmd>lua vim.lsp.buf.rename()<CR>", "rename" },
d = { "<cmd>Telescope diagnostics<CR>", "diagnostics" },
f = { "<cmd>lua vim.lsp.buf.formatting()<CR>", "format" },
f = { "<cmd>lua vim.lsp.buf.format { async = true }<CR>", "format" },
a = { "<cmd>lua vim.lsp.buf.code_action()<CR>", "code action" }
},