You can find my neovim config on github. This minimal config was made with the objectives of programming in Python and writing documents in Latex. So it has basic features like:
- LSP (with pyright and texlab out of the box)
- Autocompletion
- Jupyter Notebook-like functionality
Requirements
For everything to work, it is recommended to install:
- pyright
- texlab
- ipython3
- tree-sitter-cli
ipython3 is not stricly necessary, since it can be replaced with the standard python3 repl, however, in my experience, ipython3 works better.
Plugins
In total I only use 11 plugins. All of them can be installed simply by adding the following block to init.lua:
vim.pack.add({
{ src = 'https://github.com/Vigemus/iron.nvim' },
{ src = 'https://github.com/neovim/nvim-lspconfig' },
{ src = 'https://github.com/hrsh7th/cmp-nvim-lsp' },
{ src = 'https://github.com/hrsh7th/cmp-buffer' },
{ src = 'https://github.com/hrsh7th/cmp-path' },
{ src = 'https://github.com/hrsh7th/cmp-cmdline' },
{ src = 'https://github.com/hrsh7th/nvim-cmp' },
{ src = 'https://github.com/hrsh7th/cmp-vsnip' },
{ src = 'https://github.com/hrsh7th/vim-vsnip' },
{ src = 'https://github.com/lewis6991/gitsigns.nvim' },
{ src = 'https://github.com/nvim-lualine/lualine.nvim' },
})