Removed unused variables

This commit is contained in:
Oliver Hartmann 2021-12-19 23:55:26 +01:00
parent ad0ddc735d
commit 7705b5fc8a

View File

@ -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 opt = vim.opt -- to set options
local fn = vim.fn
-- Auto install packer.nvim if not exists
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
@ -116,7 +113,6 @@ require('Comment').setup({
})
-------------------- CMAKE ---------------------------------
require('telescope').load_extension('cmake')
local Path = require('plenary.path')
require('cmake').setup({
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.