diff --git a/lua/custom/plugins/markdown-preview.lua b/lua/custom/plugins/markdown-preview.lua new file mode 100644 index 0000000..e4f1509 --- /dev/null +++ b/lua/custom/plugins/markdown-preview.lua @@ -0,0 +1,10 @@ +return { + 'iamcco/markdown-preview.nvim', + cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' }, + build = 'cd app && yarn install', + init = function() + vim.g.mkdp_filetypes = { 'markdown' } + end, + + ft = { 'markdown' }, +} diff --git a/lua/custom/plugins/theme.lua b/lua/custom/plugins/theme.lua index 84a00a9..3a9ff61 100644 --- a/lua/custom/plugins/theme.lua +++ b/lua/custom/plugins/theme.lua @@ -3,16 +3,14 @@ return { -- You can easily change to a different colorscheme. -- 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`. - 'mofiqul/vscode.nvim', + 'folke/tokyonight.nvim', + lazy = false, opts = { transparent = true, styles = { sidebars = 'transparent', floats = 'transparent' } }, 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 'vscode' - - -- You can configure highlights by doing something like: - vim.cmd.hi 'Comment gui=none' + vim.cmd.colorscheme 'tokyonight-night' end, priority = 1000, }