first working config

This commit is contained in:
2024-02-22 18:09:15 +01:00
parent 2a8d759aad
commit f0ba9e4151
2 changed files with 29 additions and 1 deletions

View File

@@ -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!)
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...)

23
init.lua Normal file
View File

@@ -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 {}