mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-20 20:54:29 +08:00
Merged in enordstr/backend-database/enordstr/add-emacs-dir-locals-el (pull request #146)
Add PostgreSQL's .dir-locals.el style file Approved-by: Olof Rensfelt <olof@iobeam.com> Approved-by: ci-timescale <erik@timescale.com> Approved-by: Matvey Arye <cevian@gmail.com>
This commit is contained in:
commit
fd93b68656
20
.dir-locals.el
Normal file
20
.dir-locals.el
Normal file
@ -0,0 +1,20 @@
|
||||
;; see also src/tools/editors/emacs.samples in the PostgreSQL source
|
||||
;; tree for more complete settings
|
||||
|
||||
((c-mode . ((c-basic-offset . 4)
|
||||
(c-file-style . "bsd")
|
||||
(fill-column . 78)
|
||||
(indent-tabs-mode . t)
|
||||
(tab-width . 4)))
|
||||
(dsssl-mode . ((indent-tabs-mode . nil)))
|
||||
(nxml-mode . ((indent-tabs-mode . nil)))
|
||||
(perl-mode . ((perl-indent-level . 4)
|
||||
(perl-continued-statement-offset . 4)
|
||||
(perl-continued-brace-offset . 4)
|
||||
(perl-brace-offset . 0)
|
||||
(perl-brace-imaginary-offset . 0)
|
||||
(perl-label-offset . -2)
|
||||
(indent-tabs-mode . t)
|
||||
(tab-width . 4)))
|
||||
(sgml-mode . ((fill-column . 78)
|
||||
(indent-tabs-mode . nil))))
|
@ -1,4 +1,3 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
#ifndef _COMPAT_ENDIAN_H_
|
||||
#define _COMPAT_ENDIAN_H_
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
/* ----------------------------------------------------------------------------- */
|
||||
/* MurmurHash3 was written by Austin Appleby, and is placed in the public */
|
||||
/* domain. The author hereby disclaims copyright to this source code. */
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
#include "pgmurmur3.h"
|
||||
|
||||
#include <catalog/pg_type.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
#ifndef _PGHASHLIB_H_
|
||||
#define _PGHASHLIB_H_
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
#include <unistd.h>
|
||||
|
||||
#include <postgres.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user