diff options
| author | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-02-20 15:05:37 +0100 |
|---|---|---|
| committer | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-02-20 15:05:37 +0100 |
| commit | ac0968042ddb333de5e3c371cc79b3b4ef098356 (patch) | |
| tree | 6fba7deb2e7990b5842ef36ef1dad0f90e74d494 /.config/nvim/lua/config | |
| parent | 2dab9e093cced83b8a2ae3c477052594f70e9a4d (diff) | |
update
Diffstat (limited to '.config/nvim/lua/config')
| -rw-r--r-- | .config/nvim/lua/config/plugins/blink-cmp.lua | 16 | ||||
| -rw-r--r-- | .config/nvim/lua/config/plugins/jupytext.lua | 6 | ||||
| -rw-r--r-- | .config/nvim/lua/config/plugins/learn.lua | 12 | ||||
| -rw-r--r-- | .config/nvim/lua/config/plugins/lsp.lua | 46 | ||||
| -rw-r--r-- | .config/nvim/lua/config/plugins/neotree.lua | 17 | ||||
| -rw-r--r-- | .config/nvim/lua/config/plugins/notebook.lua | 14 | ||||
| -rw-r--r-- | .config/nvim/lua/config/plugins/uv.lua | 7 |
7 files changed, 76 insertions, 42 deletions
diff --git a/.config/nvim/lua/config/plugins/blink-cmp.lua b/.config/nvim/lua/config/plugins/blink-cmp.lua index d51ba4a..424d463 100644 --- a/.config/nvim/lua/config/plugins/blink-cmp.lua +++ b/.config/nvim/lua/config/plugins/blink-cmp.lua @@ -68,14 +68,14 @@ return { name = "Emoji", score_offset = 15, -- Tune by preference opts = { insert = true }, -- Insert emoji (default) or complete its name - should_show_items = function() - return vim.tbl_contains( - -- Enable emoji completion only for git commits and markdown. - -- By default, enabled for all file-types. - { "gitcommit", "markdown" }, - vim.o.filetype - ) - end, + -- should_show_items = function() + -- return vim.tbl_contains( + -- -- Enable emoji completion only for git commits and markdown. + -- -- By default, enabled for all file-types. + -- { "gitcommit", "markdown" }, + -- vim.o.filetype + -- ) + -- end, }, sql = { -- IMPORTANT: use the same name as you would for nvim-cmp diff --git a/.config/nvim/lua/config/plugins/jupytext.lua b/.config/nvim/lua/config/plugins/jupytext.lua new file mode 100644 index 0000000..2f57193 --- /dev/null +++ b/.config/nvim/lua/config/plugins/jupytext.lua @@ -0,0 +1,6 @@ +return { + "GCBallesteros/jupytext.nvim", + config = true, + -- Depending on your nvim distro or config you may need to make the loading not lazy + -- lazy=false, +} diff --git a/.config/nvim/lua/config/plugins/learn.lua b/.config/nvim/lua/config/plugins/learn.lua index ebaf057..2d82d9f 100644 --- a/.config/nvim/lua/config/plugins/learn.lua +++ b/.config/nvim/lua/config/plugins/learn.lua @@ -1,8 +1,8 @@ return { - { - "m4xshen/hardtime.nvim", - lazy = false, - dependencies = { "MunifTanjim/nui.nvim" }, - opts = {}, - }, + -- { + -- "m4xshen/hardtime.nvim", + -- lazy = false, + -- dependencies = { "MunifTanjim/nui.nvim" }, + -- opts = {}, + -- }, } diff --git a/.config/nvim/lua/config/plugins/lsp.lua b/.config/nvim/lua/config/plugins/lsp.lua index dca3f5f..4d4dcc0 100644 --- a/.config/nvim/lua/config/plugins/lsp.lua +++ b/.config/nvim/lua/config/plugins/lsp.lua @@ -167,35 +167,25 @@ return { local servers = { bashls = {}, marksman = {}, - -- clangd = {}, - -- gopls = {}, - -- pyright = {}, - -- ... 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 - -- - -- But for many setups, the LSP (`ts_ls`) will work just fine - -- ts_ls = {}, - -- - - lua_ls = { - -- cmd = { ... }, - -- filetypes = { ... }, - -- capabilities = {}, - -- settings = { - -- Lua = { - -- completion = { - -- callSnippet = 'Replace', - -- }, - -- -- You can toggle below to ignore Lua_LS's noisy `missing-fields` warnings - -- -- diagnostics = { disable = { 'missing-fields' } }, - -- }, - -- }, + pyright = { + settings = { + python = { + analysis = { + typeCheckingMode = "basic", + autoSearchPaths = true, + useLibraryCodeForTypes = true, + }, + }, + }, }, - } - - -- Ensure the servers and tools above are installed + clangd = { + cmd = { + "clangd", + "--fallback-style={BasedOnStyle: LLVM, IndentWidth: 4, TabWidth: 4, UseTab: Never}", + }, + }, + lua_ls = {}, + } -- Ensure the servers and tools above are installed -- -- To check the current status of installed tools and/or manually install -- other tools, you can run diff --git a/.config/nvim/lua/config/plugins/neotree.lua b/.config/nvim/lua/config/plugins/neotree.lua new file mode 100644 index 0000000..11a0a98 --- /dev/null +++ b/.config/nvim/lua/config/plugins/neotree.lua @@ -0,0 +1,17 @@ +return { + { + "nvim-neo-tree/neo-tree.nvim", + branch = "v3.x", + dependencies = { + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + "nvim-tree/nvim-web-devicons", -- optional, but recommended + }, + lazy = false, -- neo-tree will lazily load itself + opts = { + window = { + position = "right", + }, + }, + }, +} diff --git a/.config/nvim/lua/config/plugins/notebook.lua b/.config/nvim/lua/config/plugins/notebook.lua new file mode 100644 index 0000000..f3eff87 --- /dev/null +++ b/.config/nvim/lua/config/plugins/notebook.lua @@ -0,0 +1,14 @@ +return { + { + "jeryldev/pyworks.nvim", + dependencies = { + "benlubas/molten-nvim", + "3rd/image.nvim", + }, + config = function() + require("pyworks").setup() -- See Configuration section for options + end, + lazy = false, + priority = 100, + }, +} diff --git a/.config/nvim/lua/config/plugins/uv.lua b/.config/nvim/lua/config/plugins/uv.lua new file mode 100644 index 0000000..121921b --- /dev/null +++ b/.config/nvim/lua/config/plugins/uv.lua @@ -0,0 +1,7 @@ +return { + "benomahony/uv.nvim", + event = "VeryLazy", + opts = { + picker_integration = true, + }, +} |
