|
Assembled 2
A column based text editor
|
#include <ctype.h>#include <editor/keyboard.h>#include <editor/config.h>#include <editor/buffer/editor.h>#include <interface/screens/start.h>#include <interface/theming/themes.h>#include <global.h>#include <util.h>Functions | |
| struct AS_CfgTok * | cfg_lex (FILE *file) |
| int | read_config () |
Assembled - Column based text editor Copyright (C) 2023-2024 awewsomegamer
This file is apart of Assembled.
Assembled is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Responsible for reading .cfg files.
| struct AS_CfgTok * cfg_lex | ( | FILE * | file | ) |
General lex function that can be used for .cfg files.
| FILE | *file - The file to lex. |
| int read_config | ( | ) |
Specific to read ~/.config/assembled/config.cfg
This functions reads the first main configuration file at ~/.config/assembled/config.cfg, which may point to other configuration files.