nvim config style changes
This commit is contained in:
parent
b774176001
commit
cf2c700552
@ -7,4 +7,4 @@ require('config.plugins') -- loads plugins (packer)
|
|||||||
require('config.platform_specific') -- platform specific settings (Win32, Mac, Linux)
|
require('config.platform_specific') -- platform specific settings (Win32, Mac, Linux)
|
||||||
|
|
||||||
-- plugin configurations
|
-- plugin configurations
|
||||||
require('plugin-config')
|
require('plugin-config') -- plugin specific configurations
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
--
|
-- keymaps.lua
|
||||||
-- keymaps
|
|
||||||
--
|
|
||||||
|
|
||||||
vim.g.mapleader = ' '
|
vim.g.mapleader = ' '
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
-- platform_specific.lua
|
||||||
-- platform/os specific stuff
|
-- platform/os specific stuff
|
||||||
if vim.fn.has('win32') then
|
if vim.fn.has('win32') then
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
--
|
-- plugins.lua
|
||||||
-- plugins
|
|
||||||
--
|
|
||||||
|
|
||||||
local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim'
|
local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim'
|
||||||
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
--
|
-- settings.lua
|
||||||
-- general settings
|
-- general settings
|
||||||
--
|
|
||||||
|
|
||||||
-- encoding/format
|
-- encoding/format
|
||||||
vim.opt.encoding = 'utf-8'
|
vim.opt.encoding = 'utf-8'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user