summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 83e5ffc7..fb142aec 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -7,6 +7,7 @@
#include <memory>
#include "line_and_column.hh"
+#include "option_manager.hh"
namespace Kakoune
{
@@ -173,6 +174,8 @@ public:
const String& line_content(size_t l) const { return m_lines[l].content; }
+ OptionManager& option_manager() { return m_option_manager; }
+
private:
friend class BufferIterator;
@@ -210,6 +213,8 @@ private:
size_t m_last_save_undo_index;
std::vector<ModificationListener*> m_modification_listeners;
+
+ OptionManager m_option_manager;
};
inline Modification Modification::make_erase(BufferIterator begin,