first working config
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
# dotfiles
|
# 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
23
init.lua
Normal 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 {}
|
||||||
|
|
||||||
Reference in New Issue
Block a user