From 4c9aa0fb0441d5e44b0904182f1b40952c98c59c Mon Sep 17 00:00:00 2001 From: name Date: Thu, 11 Dec 2025 21:13:29 +0000 Subject: [PATCH 1/7] add language servers --- init.lua | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/init.lua b/init.lua index b98ffc6198a..832d175cfa1 100644 --- a/init.lua +++ b/init.lua @@ -83,6 +83,9 @@ I hope you enjoy your Neovim journey, P.S. You can delete this when you're done too. It's your config now! :) --]] +-- +--vim.lsp.enable 'julials' +--vim.lsp.config 'julials' -- Set as the leader key -- See `:help mapleader` @@ -102,10 +105,10 @@ vim.g.have_nerd_font = false vim.o.number = true -- You can also add relative line numbers, to help with jumping. -- Experiment for yourself to see if you like it! --- vim.o.relativenumber = true +vim.o.relativenumber = true -- Enable mouse mode, can be useful for resizing splits for example! -vim.o.mouse = 'a' +--vim.o.mouse = 'a' -- Don't show the mode, since it's already in the status line vim.o.showmode = false @@ -671,19 +674,30 @@ require('lazy').setup({ -- - settings (table): Override the default settings passed when initializing the server. -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { - -- clangd = {}, - -- gopls = {}, - -- pyright = {}, + clangd = {}, + gopls = {}, + pyright = {}, + verible = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: -- https://github.com/pmizio/typescript-tools.nvim - -- + --julials = { + -- cmd = { + -- 'julia', + -- '--startup-file=no', + --'--history-file=no', + --'-e', + ---[[ + -- using LanguageServer, SymbolServer; + -- runserver() + -- ]], + --}, + -- filetypes = { 'julia' }, + --}, -- But for many setups, the LSP (`ts_ls`) will work just fine -- ts_ls = {}, - -- - lua_ls = { -- cmd = { ... }, -- filetypes = { ... }, @@ -731,6 +745,11 @@ require('lazy').setup({ server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) require('lspconfig')[server_name].setup(server) end, + ['verible'] = function() + require('lspconfig').verible.setup { + filetypes = { 'verilog', 'systemverilog', 'v', 'sv' }, + } + end, }, } end, From 5a472f68bcaa49f224212e02a6b55fe2bd419d00 Mon Sep 17 00:00:00 2001 From: name Date: Fri, 12 Dec 2025 22:25:14 +0000 Subject: [PATCH 2/7] add notes plugins --- init.lua | 13 +++++++------ lua/custom/plugins/notes.lua | 22 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 lua/custom/plugins/notes.lua diff --git a/init.lua b/init.lua index 832d175cfa1..d4b1f728568 100644 --- a/init.lua +++ b/init.lua @@ -992,12 +992,13 @@ require('lazy').setup({ -- Here are some example plugins that I've included in the Kickstart repository. -- 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.lint', - -- require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', - -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps + require 'kickstart.plugins.debug', + require 'kickstart.plugins.indent_line', + require 'kickstart.plugins.lint', + require 'kickstart.plugins.autopairs', + require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps + require 'custom.plugins.notes', -- 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. diff --git a/lua/custom/plugins/notes.lua b/lua/custom/plugins/notes.lua new file mode 100644 index 00000000000..f657a4ab990 --- /dev/null +++ b/lua/custom/plugins/notes.lua @@ -0,0 +1,22 @@ +return { + { + 'nvim-orgmode/orgmode', + event = 'VeryLazy', + ft = { 'org' }, + config = function() + require('orgmode').setup { + org_agenda_files = '~/vault/projects/**/*', + org_default_notes_file = '~/vault/projects/refile.org', + } + end, + }, + { + 'renerocksai/telekasten.nvim', + dependencies = { 'nvim-telescope/telescope.nvim' }, + }, + { + --'MeanderingProgrammer/render-makrdown.nvim', + --dependecies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' }, + --@module 'render-markdown' + }, +} From 359162d269ba3d620db6980c251d7c71aafd2022 Mon Sep 17 00:00:00 2001 From: name Date: Sat, 7 Feb 2026 18:52:29 +0000 Subject: [PATCH 3/7] add render markdown --- lua/custom/plugins/notes.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lua/custom/plugins/notes.lua b/lua/custom/plugins/notes.lua index f657a4ab990..7efcdffa079 100644 --- a/lua/custom/plugins/notes.lua +++ b/lua/custom/plugins/notes.lua @@ -15,8 +15,14 @@ return { dependencies = { 'nvim-telescope/telescope.nvim' }, }, { - --'MeanderingProgrammer/render-makrdown.nvim', - --dependecies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' }, - --@module 'render-markdown' + { + 'MeanderingProgrammer/render-markdown.nvim', + dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' }, -- if you use the mini.nvim suite + -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins + -- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons + ---@module 'render-markdown' + ---@type render.md.UserConfig + opts = {}, + }, }, } From f4fe0e65785163d8c9d03118f0f94cb8193ab77b Mon Sep 17 00:00:00 2001 From: name Date: Sat, 7 Feb 2026 22:06:19 +0000 Subject: [PATCH 4/7] add orgmode todo keyworkds --- lua/custom/plugins/notes.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/custom/plugins/notes.lua b/lua/custom/plugins/notes.lua index 7efcdffa079..ab163d2bfb8 100644 --- a/lua/custom/plugins/notes.lua +++ b/lua/custom/plugins/notes.lua @@ -7,6 +7,14 @@ return { require('orgmode').setup { org_agenda_files = '~/vault/projects/**/*', org_default_notes_file = '~/vault/projects/refile.org', + org_todo_keywords = { 'TODO(t)', 'NEXT(n)', '|', 'DONE(d)', '|', 'HOLD(h)' }, + org_todo_keyword_faces = { + NEXT = ':foreground orange :weight bold :underline on', + HOLD = ':foreground yellow', + }, + mappings = { + org_return_uses_meta_return = true, + }, } end, }, From e163d626e7bc0053456b3acaebf27c23ab08dd1f Mon Sep 17 00:00:00 2001 From: teavay Date: Wed, 4 Mar 2026 13:56:43 +0100 Subject: [PATCH 5/7] change done color for org mode --- lua/custom/plugins/notes.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/custom/plugins/notes.lua b/lua/custom/plugins/notes.lua index ab163d2bfb8..be15612dac6 100644 --- a/lua/custom/plugins/notes.lua +++ b/lua/custom/plugins/notes.lua @@ -9,6 +9,7 @@ return { org_default_notes_file = '~/vault/projects/refile.org', org_todo_keywords = { 'TODO(t)', 'NEXT(n)', '|', 'DONE(d)', '|', 'HOLD(h)' }, org_todo_keyword_faces = { + DONE = ':foreground green', NEXT = ':foreground orange :weight bold :underline on', HOLD = ':foreground yellow', }, From 2c1f0ec40d9f286df2d629b8481bcabee08f487d Mon Sep 17 00:00:00 2001 From: teavay Date: Mon, 16 Mar 2026 21:03:04 +0100 Subject: [PATCH 6/7] fix treesitter setup --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 9886367b1d9..eeddbf06459 100644 --- a/init.lua +++ b/init.lua @@ -891,7 +891,8 @@ require('lazy').setup({ -- [[ Configure Treesitter ]] See `:help nvim-treesitter-intro` config = function() local parsers = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' } - require('nvim-treesitter').install(parsers) + --require('nvim-treesitter').install(parsers) + require('nvim-treesitter').setup { ensure_install = parsers } vim.api.nvim_create_autocmd('FileType', { callback = function(args) local buf, filetype = args.buf, args.match From db85608fc653e65e56e63f280d63167af067eb36 Mon Sep 17 00:00:00 2001 From: teavay Date: Mon, 16 Mar 2026 21:41:21 +0100 Subject: [PATCH 7/7] add luaSnip --- init.lua | 4 ++-- lua/custom/plugins/notes.lua | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index eeddbf06459..e09cc3f9dc0 100644 --- a/init.lua +++ b/init.lua @@ -891,8 +891,8 @@ require('lazy').setup({ -- [[ Configure Treesitter ]] See `:help nvim-treesitter-intro` config = function() local parsers = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' } - --require('nvim-treesitter').install(parsers) - require('nvim-treesitter').setup { ensure_install = parsers } + require('nvim-treesitter').install(parsers) + require('nvim-treesitter').setup { install_dir = vim.fn.stdpath 'data' .. '/site' } vim.api.nvim_create_autocmd('FileType', { callback = function(args) local buf, filetype = args.buf, args.match diff --git a/lua/custom/plugins/notes.lua b/lua/custom/plugins/notes.lua index be15612dac6..59ff22e9906 100644 --- a/lua/custom/plugins/notes.lua +++ b/lua/custom/plugins/notes.lua @@ -34,4 +34,9 @@ return { opts = {}, }, }, + { + "L3MON4D3/LuaSnip", + version = "v2.*", + build = "make install_jsregexp", + }, }