Update theme and lsp format command
This commit is contained in:
@@ -49,4 +49,4 @@ require("catppuccin").setup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- vim.cmd [[colorscheme catppuccin]]
|
vim.cmd [[colorscheme catppuccin]]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
require("lualine").setup {
|
require("lualine").setup {
|
||||||
options = {
|
options = {
|
||||||
-- theme = "catppuccin"
|
theme = "catppuccin"
|
||||||
theme = "tokyonight"
|
-- theme = "tokyonight"
|
||||||
},
|
},
|
||||||
|
|
||||||
extensions = {
|
extensions = {
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ require("tokyonight").setup {
|
|||||||
lualine_bold = true
|
lualine_bold = true
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.cmd [[colorscheme tokyonight]]
|
-- vim.cmd [[colorscheme tokyonight]]
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ wk.register({
|
|||||||
name = "LSP",
|
name = "LSP",
|
||||||
r = { "<cmd>lua vim.lsp.buf.rename()<CR>", "rename" },
|
r = { "<cmd>lua vim.lsp.buf.rename()<CR>", "rename" },
|
||||||
d = { "<cmd>Telescope diagnostics<CR>", "diagnostics" },
|
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" }
|
a = { "<cmd>lua vim.lsp.buf.code_action()<CR>", "code action" }
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user