Removed unused variables
This commit is contained in:
parent
ad0ddc735d
commit
7705b5fc8a
4
init.lua
4
init.lua
@ -3,10 +3,7 @@ local fn = vim.fn -- to call Vim functions e.g. fn.bufnr()
|
|||||||
local g = vim.g -- a table to access global variables
|
local g = vim.g -- a table to access global variables
|
||||||
local opt = vim.opt -- to set options
|
local opt = vim.opt -- to set options
|
||||||
|
|
||||||
local fn = vim.fn
|
|
||||||
|
|
||||||
-- Auto install packer.nvim if not exists
|
-- Auto install packer.nvim if not exists
|
||||||
local fn = vim.fn
|
|
||||||
local install_path = fn.stdpath('data')..'/site/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
|
if fn.empty(fn.glob(install_path)) > 0 then
|
||||||
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
||||||
@ -116,7 +113,6 @@ require('Comment').setup({
|
|||||||
})
|
})
|
||||||
-------------------- CMAKE ---------------------------------
|
-------------------- CMAKE ---------------------------------
|
||||||
require('telescope').load_extension('cmake')
|
require('telescope').load_extension('cmake')
|
||||||
local Path = require('plenary.path')
|
|
||||||
require('cmake').setup({
|
require('cmake').setup({
|
||||||
parameters_file = 'neovim.json', -- JSON file to store information about selected target, run arguments and build type.
|
parameters_file = 'neovim.json', -- JSON file to store information about selected target, run arguments and build type.
|
||||||
build_dir = '{cwd}/build_nvim', -- Build directory. The expressions `{cwd}`, `{os}` and `{build_type}` will be expanded with the corresponding text values.
|
build_dir = '{cwd}/build_nvim', -- Build directory. The expressions `{cwd}`, `{os}` and `{build_type}` will be expanded with the corresponding text values.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user