Привёл nvim к достаточному состоянию
This commit is contained in:
parent
020ed86034
commit
4d3bb0270a
27 changed files with 279 additions and 148 deletions
|
@ -1,18 +1,20 @@
|
|||
local fn = vim.fn
|
||||
local install_path = fn.stdpath('config')..'/pack/packer/start/packer.nvim'
|
||||
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
|
||||
if fn.empty(fn.glob(install_path)) > 0 then
|
||||
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
||||
packer_bootstrap =
|
||||
fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path })
|
||||
end
|
||||
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
vim.cmd [[packadd packer.nvim]]
|
||||
vim.cmd([[packadd packer.nvim]])
|
||||
|
||||
require 'options'
|
||||
require 'keymaps'
|
||||
require 'autocommands'
|
||||
require 'plugins'
|
||||
require 'lsp'
|
||||
require("options")
|
||||
require("keymaps")
|
||||
require("autocommands")
|
||||
require("plugins")
|
||||
require("lsp")
|
||||
require("dap")
|
||||
|
||||
vim.cmd [[colorscheme moonfly]]
|
||||
vim.cmd([[colorscheme moonfly]])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue