Update with main #1

Merged
jiriks74 merged 4 commits from main into merlin 2022-10-30 00:07:32 +02:00
2 changed files with 34 additions and 22 deletions
Showing only changes of commit b0f1dd9656 - Show all commits

@ -1,8 +1,6 @@
# My [AstroNvim](https://github.com/AstroNvim/AstroNvim) config # My [AstroNvim](https://github.com/AstroNvim/AstroNvim) config
## README for the merlin server at FIT VUT can be found [here](https://github.com/jiriks74/astronvim_config/tree/merlin) ## How to install my config on merli
## How to install my config
- First you have to install AstroNvim - First you have to install AstroNvim
- Backup your previous nvim config - Backup your previous nvim config
@ -25,13 +23,39 @@
git clone https://github.com/jiriks74/astronvim_config ~/.config/nvim/lua/user git clone https://github.com/jiriks74/astronvim_config ~/.config/nvim/lua/user
``` ```
- For NeoVim < 8.0 use `neovim7.2` branch - Open nvim and run `:PackerSync`
- **This will result in errors as `merlin` kills most of the clone processes**
- To make this work you need to press `R` (yes, capital) to download all the
failed downloads
- You have to do this until all plugins have been successfully downloaded
```bash ```bash
git clone -b neovim7.2 https://github.com/jiriks74/astronvim_config ~/.config/nvim/lua/user nvim +PackerSync
``` ```
## Updating
```bash
cd ~/.config/nvim
git pull
cd lua/user
git pull
```
- To update the plugins you need to first remove all the downloaded plugins
(or plugin downloading will fail)
```bash
rm -rf ~/.local/share/nvim
```
- Then you need to repeat the process as if you were initializing AstroNvim for
the first time:
- Open nvim and run `:PackerSync` - Open nvim and run `:PackerSync`
- **This will result in errors as `merlin` kills most of the clone processes**
- To make this work you need to press `R` (yes, capital) to download all the
failed downloads
- You have to do this until all plugins have been successfully downloaded
```bash ```bash
nvim +PackerSync nvim +PackerSync

@ -142,6 +142,7 @@ local config = {
-- enable servers that you already have installed without mason -- enable servers that you already have installed without mason
servers = { servers = {
-- "pyright" -- "pyright"
"clangd"
}, },
formatting = { formatting = {
format_on_save = false, -- enable or disable auto formatting on save format_on_save = false, -- enable or disable auto formatting on save
@ -305,20 +306,13 @@ local config = {
{ "github/copilot.vim" }, { "github/copilot.vim" },
{ "puremourning/vimspector" }, { "puremourning/vimspector" },
{ "lervag/vimtex" }, { "lervag/vimtex" },
{ "normen/vim-pio" },
{
"iamcco/markdown-preview.nvim",
run = function() vim.fn["mkdp#util#install"]() end,
},
{ {
"Pocco81/auto-save.nvim", "Pocco81/auto-save.nvim",
config = function() config = function()
require("auto-save").setup() require("auto-save").setup()
end, end,
}, },
{ "weirongxu/plantuml-previewer.vim" },
{ "aklt/plantuml-syntax" }, { "aklt/plantuml-syntax" },
{ "tyru/open-browser.vim" },
-- We also support a key value style plugin definition similar to NvChad: -- We also support a key value style plugin definition similar to NvChad:
-- ["ray-x/lsp_signature.nvim"] = { -- ["ray-x/lsp_signature.nvim"] = {
@ -327,12 +321,6 @@ local config = {
-- require("lsp_signature").setup() -- require("lsp_signature").setup()
-- end, -- end,
-- }, -- },
-- ["weirongxu/plantuml-previewer.vim"] = {
-- requires = { {"aklt/plantuml-syntax"} },
-- -- depends = "aklt/plantuml-syntax",
-- requires = { {"tyru/open-browser.vim"} },
-- -- depends = "tyru/open-browser.vim",
-- },
}, },
-- All other entries override the require("<key>").setup({...}) call for default plugins -- All other entries override the require("<key>").setup({...}) call for default plugins