Initial commit, includes basic settings, treesitter for python, c++ and a few other languages, and lspconfig for python.
This commit is contained in:
commit
e493606f9b
5 changed files with 52 additions and 0 deletions
28
init.lua
Normal file
28
init.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable",
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup("plugins")
|
||||
|
||||
-- My user settings:
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.foldmethod = "indent"
|
||||
vim.opt.foldenable = false
|
||||
vim.cmd([[colorscheme everforest]])
|
||||
|
||||
|
||||
|
||||
local lspconfig = require('lspconfig')
|
||||
lspconfig.pylsp.setup{}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue