Enable Spelling and Change them to tokyonight

This commit is contained in:
Mohammad Moosazadeh 2024-06-27 09:41:41 -04:00
parent 4c95537d6e
commit 989612910e
1 changed files with 41 additions and 37 deletions

View File

@ -154,6 +154,10 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10
-- Enable Spell
vim.opt.spelllang = 'en_us'
vim.opt.spell = true
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`
@ -788,49 +792,49 @@ require('lazy').setup({
end,
},
-- { -- You can easily change to a different colorscheme.
-- -- Change the name of the colorscheme plugin below, and then
-- -- change the command in the config to whatever the name of that colorscheme is.
-- --
-- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
-- 'folke/tokyonight.nvim',
-- priority = 1000, -- Make sure to load this before all the other start plugins.
-- -- init = function()
-- -- -- Load the colorscheme here.
-- -- -- Like many other themes, this one has different styles, and you could load
-- -- -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
-- -- vim.cmd.colorscheme 'tokyonight-moon'
-- --
-- -- -- You can configure highlights by doing something like:
-- -- vim.cmd.hi 'Comment gui=none'
-- -- end,
-- config = function()
-- require('tokyonight').setup {
-- -- your configuration comes here
-- -- or leave it empty to use the default settings
-- style = 'storm', -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
-- light_style = 'day', -- The theme is used when the background is set to light
-- transparent = true,
-- }
--
-- vim.cmd.colorscheme 'tokyonight'
-- vim.cmd.hi 'Comment gui=none'
-- end,
-- },
{
'catppuccin/nvim',
name = 'catppuccin',
priority = 1000,
{ -- You can easily change to a different colorscheme.
-- Change the name of the colorscheme plugin below, and then
-- change the command in the config to whatever the name of that colorscheme is.
--
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim',
priority = 1000, -- Make sure to load this before all the other start plugins.
-- init = function()
-- -- Load the colorscheme here.
-- -- Like many other themes, this one has different styles, and you could load
-- -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
-- vim.cmd.colorscheme 'tokyonight-moon'
--
-- -- You can configure highlights by doing something like:
-- vim.cmd.hi 'Comment gui=none'
-- end,
config = function()
require('catppuccin').setup {
-- flavour = 'mocha', -- latte, frappe, macchiato, mocha
-- transparent_background = true,
require('tokyonight').setup {
-- your configuration comes here
-- or leave it empty to use the default settings
style = 'night', -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
-- light_style = 'day', -- The theme is used when the background is set to light
-- transparent = true,
}
vim.cmd.colorscheme 'catppuccin'
vim.cmd.colorscheme 'tokyonight'
vim.cmd.hi 'Comment gui=none'
end,
},
-- {
-- 'catppuccin/nvim',
-- name = 'catppuccin',
-- priority = 1000,
-- config = function()
-- require('catppuccin').setup {
-- -- flavour = 'mocha', -- latte, frappe, macchiato, mocha
-- -- transparent_background = true,
-- }
--
-- vim.cmd.colorscheme 'catppuccin'
-- vim.cmd.hi 'Comment gui=none'
-- end,
-- },
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },