Refactor neovim config (#2)
Changes include: - [x] Use init.lua instead of init.vim - Some keybindings are still to be converted - [x] Use packer as a package manager instead of vim-plug - [ ] Use built-in lsp instead of coc.nvim - [x] Set up language servers - [x] Completion - [x] Formatting (previously coc-prettier, now neoformat) - [ ] Snippets - [ ] Replace fzf with telescope.nvim - [x] Implement treesitter syntax highlighting - More info: https://github.com/nvim-treesitter/nvim-treesitter Note that this requires neovim nightly until 0.5 is released Reviewed-on: #2 Co-authored-by: Marko Korhonen <marko@korhonen.cc> Co-committed-by: Marko Korhonen <marko@korhonen.cc>
This commit is contained in:
parent
b4f2b57060
commit
95a99aa1bf
24 changed files with 492 additions and 525 deletions
4
home/.config/nvim/lua/pluginconf/completion.lua
Normal file
4
home/.config/nvim/lua/pluginconf/completion.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
vim.o.completeopt = 'menuone,noinsert,noselect'
|
||||
|
||||
-- Enable for all buffers (for now)
|
||||
vim.api.nvim_command('autocmd BufEnter * lua require\'completion\'.on_attach()')
|
Loading…
Add table
Add a link
Reference in a new issue