From e263f16266dbee705df69b40a4f6863122044b8f Mon Sep 17 00:00:00 2001
From: Tomas Pecka <peckato1@fit.cvut.cz>
Date: Fri, 30 Nov 2018 10:19:12 +0100
Subject: [PATCH] Replace lvimrc with editorconfig

---
 .editorconfig | 15 +++++++++++++++
 .lvimrc       |  3 ---
 README.md     |  6 +++---
 3 files changed, 18 insertions(+), 6 deletions(-)
 create mode 100644 .editorconfig
 delete mode 100644 .lvimrc

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..96b0e3b99e
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+# http://editorconfig.org
+# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+indent_style = tab
+indent_size = 4
+
+[*.{py,ini}]
+indent_size = 4
+indent_style = space
diff --git a/.lvimrc b/.lvimrc
deleted file mode 100644
index 5127f30957..0000000000
--- a/.lvimrc
+++ /dev/null
@@ -1,3 +0,0 @@
-
-set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab
-
diff --git a/README.md b/README.md
index ce8115d515..0f3d5da839 100644
--- a/README.md
+++ b/README.md
@@ -57,6 +57,7 @@ and extract it.
  3. Generate `CMakeLists`:
    - `../CMake/generate.py -wm` if you want to build whole project
    - or `../CMake/generate.py -wm -g cli` if you want to build cli only
+   - or `../CMake/generate.py -wm -p alib2str` if you want to build only `alib2str` and its dependencies
  4. Run `cmake` and build: `cmake .. && make`
  5. Install: `make install` or `make DESTDIR=./install install` for local install.
  6. Run :)
@@ -87,8 +88,7 @@ files are present in the repository.
 Please install `uncrustify` and `clang-format`. Then move/copy `.pre-commit`
 file to `.git/hooks/pre-commit`.
 
-Vim configuration for this project is available in `.lvimrc` file and
-[localvimrc][2] Vim extension is used to load this file.
+Editor configuration for this project is provided by [editorconfig][6].
 
 
 Licensing
@@ -117,8 +117,8 @@ Authors
 
 
 [1]: https://gitlab.fit.cvut.cz/algorithms-library-toolkit/automata-library
-[2]: http://www.vim.org/scripts/script.php?script_id=441
 [3]: https://gitlab.fit.cvut.cz/algorithms-library-toolkit/automata-library/tags
 [4]: https://gitlab.fit.cvut.cz/algorithms-library-toolkit/automata-library/forks/new
 [5]: https://gitlab.fit.cvut.cz/algorithms-library-toolkit/automata-library/container_registry
+[6]: https://editorconfig.org
 [logo]: docs/logo.png
-- 
GitLab