Update with main #1
34
README.md
34
README.md
@ -1,8 +1,6 @@
|
||||
# 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
|
||||
## How to install my config on merli
|
||||
|
||||
- First you have to install AstroNvim
|
||||
- Backup your previous nvim config
|
||||
@ -25,13 +23,39 @@
|
||||
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
|
||||
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`
|
||||
- **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
|
||||
nvim +PackerSync
|
||||
|
14
init.lua
14
init.lua
@ -142,6 +142,7 @@ local config = {
|
||||
-- enable servers that you already have installed without mason
|
||||
servers = {
|
||||
-- "pyright"
|
||||
"clangd"
|
||||
},
|
||||
formatting = {
|
||||
format_on_save = false, -- enable or disable auto formatting on save
|
||||
@ -305,20 +306,13 @@ local config = {
|
||||
{ "github/copilot.vim" },
|
||||
{ "puremourning/vimspector" },
|
||||
{ "lervag/vimtex" },
|
||||
{ "normen/vim-pio" },
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
run = function() vim.fn["mkdp#util#install"]() end,
|
||||
},
|
||||
{
|
||||
"Pocco81/auto-save.nvim",
|
||||
config = function()
|
||||
require("auto-save").setup()
|
||||
end,
|
||||
},
|
||||
{ "weirongxu/plantuml-previewer.vim" },
|
||||
{ "aklt/plantuml-syntax" },
|
||||
{ "tyru/open-browser.vim" },
|
||||
|
||||
-- We also support a key value style plugin definition similar to NvChad:
|
||||
-- ["ray-x/lsp_signature.nvim"] = {
|
||||
@ -327,12 +321,6 @@ local config = {
|
||||
-- require("lsp_signature").setup()
|
||||
-- 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user