diff --git a/init.lua b/init.lua index 4ce35f4b5c4..fd7de2088fa 100644 --- a/init.lua +++ b/init.lua @@ -616,7 +616,7 @@ require('lazy').setup({ local servers = { -- clangd = {}, -- gopls = {}, - -- pyright = {}, + pyright = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -838,13 +838,14 @@ require('lazy').setup({ -- 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', + 'catppuccin/nvim', + name = 'catppuccin', 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-night' + vim.cmd.colorscheme 'catppuccin-macchiato' -- You can configure highlights by doing something like: vim.cmd.hi 'Comment gui=none' @@ -927,17 +928,17 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug', - -- require 'kickstart.plugins.indent_line', + require 'kickstart.plugins.indent_line', -- require 'kickstart.plugins.lint', -- require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- This is the easiest way to modularize your config. -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, -- -- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec` -- Or use telescope! diff --git a/lua/custom/plugins/nvim-repl.lua b/lua/custom/plugins/nvim-repl.lua new file mode 100644 index 00000000000..d6cc2a3e527 --- /dev/null +++ b/lua/custom/plugins/nvim-repl.lua @@ -0,0 +1,21 @@ +return { + 'pappasam/nvim-repl', + lazy = false, + init = function() + vim.g['repl_filetype_commands'] = { + bash = 'bash', + javascript = 'node', + haskell = 'ghci', + python = 'ipython --no-autoindent', + r = 'R', + sh = 'sh', + vim = 'nvim --clean -ERM', + zsh = 'zsh', + } + end, + keys = { + { 'sc', '(ReplSendCell)', mode = 'n', desc = 'Send Repl Cell' }, + { 'sl', '(ReplSendLine)', mode = 'n', desc = 'Send Repl Line' }, + { 'sr', '(ReplSendVisual)', mode = 'v', desc = 'Send Repl Visual Selection' }, + }, +} diff --git a/lua/custom/plugins/vim-language-nextflow.lua b/lua/custom/plugins/vim-language-nextflow.lua new file mode 100644 index 00000000000..f681cd7949e --- /dev/null +++ b/lua/custom/plugins/vim-language-nextflow.lua @@ -0,0 +1,3 @@ +return { + 'nextflow-io/vim-language-nextflow', +}