diff --git a/README.md b/README.md index 554f4ab..10ccbf6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ # dotfiles -My attempt to make my personal dotfiles (I'm doing this to learn more about Linux and the Vim's world!) \ No newline at end of file +My attempt to make my personal dotfiles (I'm doing this to learn more about Linux and the Vim's world!) + +## My setup +- Neovim + +Install your preferred LSP (`coc-rust-analyzer`, `coc-pyright`, and so on...) diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..4ea882f --- /dev/null +++ b/init.lua @@ -0,0 +1,23 @@ +vim.opt.clipboard = 'unnamed' + +-- vim-plug plugin manager config for Neovim +local vim = vim +local Plug = vim.fn['plug#'] + +vim.call('plug#begin') + +Plug('neoclide/coc.nvim', { ['branch'] = 'release' }) +-- Plug('williamboman/mason.nvim') +-- Plug('williamboman/mason-lspconfig.nvim') +-- Plug('neovim/nvim-lspconfig') + +vim.call('plug#end') + +-- require("mason").setup() +-- require("mason-lspconfig").setup { +-- ensure_installed = { 'lua_ls', 'rust_analyzer', 'pyright' }, +-- } + +-- require("lspconfig").pyright.setup {} +-- require("lspconfig").rust_analyzer.setup {} +