diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index 0d6ca56..a302535 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -15,6 +15,8 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then end vim.opt.rtp:prepend(lazypath) +vim.filetype.add({ extension = { todo = "todo" } }) + -- Make sure to setup `mapleader` and `maplocalleader` before -- loading lazy.nvim so that mappings are correct. -- This is also a good place to setup other settings (vim.opt) @@ -29,7 +31,7 @@ require("lazy").setup({ }, -- Configure any other settings here. See the documentation for more details. -- colorscheme that will be used when installing plugins. - install = { colorscheme = { "kanagawa-dragon" } }, + install = { colorscheme = { "bebop" } }, -- automatically check for plugin updates checker = { enabled = true }, }) diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua index 03af220..70ca8f6 100644 --- a/.config/nvim/lua/plugins/treesitter.lua +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -22,6 +22,7 @@ return { "html", "toml", "yaml", + "todo", }) vim.api.nvim_create_autocmd("FileType", { @@ -42,6 +43,7 @@ return { "html", "toml", "yaml", + "todo", }, callback = function() -- syntax highlighting, provided by Neovim diff --git a/.config/nvim/syntax/todo.vim b/.config/nvim/syntax/todo.vim new file mode 120000 index 0000000..ee8ccd1 --- /dev/null +++ b/.config/nvim/syntax/todo.vim @@ -0,0 +1 @@ +../../../.vim/syntax/todo.vim \ No newline at end of file